How to include XML in XML file?
I guess this question has been asked to death - so here I bring it up again.....
I have this XML page and right now there is an <about> tag that contains information the page name and copyright information.
However the copyright information contains something like 1998-2006 and so instead of going through each XML page to update the year, I would like to extract this whole <about> tag into another file, which each XML can then include. However the <about> tag also contains the module id, e.g. mEmployeeDetail.
So how should I do this then? I am new to XML and worse yet I'm maintaining someone's XML code.
The <about> is pretty straightforward so far, such as
And I hope to copy that into a separate file (xml) and pass in the ModuleID.
title="Copyright 1995-2006 Something Ltd."
Copyright 1995 - 2006 Something Ltd.
title="Copyright 1995-2006 Something Ltd.""
Module ID: mEmployeeDetails
How do I even do that? BTW I have tried googling and I think my XML at work does not support things like xi:include (gosh, I don't even know what these are)
Thanks a lot