Table of contentsAppendices |
C.2 Textual Inclusion ExampleTextual Inclusion ExampleThe following XML document includes a "working example" into a document. <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>This document has been accessed <xi:include href="count.txt" parse="text"/> times.</p> </document> where count.txt contains: 324387 The infoset resulting from resolving inclusions on this document is the same (except for the include history and language properties) as that of the following document: <?xml version='1.0'?> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <p>This document has been accessed 324387 times.</p> </document> |