Embedding XML Documents with XInclude

The W3C definition of XInclude is available at http://www.w3.org/TR/xinclude. Essentially, you can include one script within another. The following script should merge two included XML regional documents into a single demographics document containing a collection of regions (this does not function in Internet Explorer 6):

   <?xml version="1.0"?> <demographics xmlns:xi="http://www.w3.org/2001/XInclude">    <xi:include href="./Africa.xml"/>    <xi:include href="./Asia.xml"/> </demographics>   


Beginning XML Databases
Beginning XML Databases (Wrox Beginning Guides)
ISBN: 0471791202
EAN: 2147483647
Year: 2006
Pages: 183
Authors: Gavin Powell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net