3
xmlns:xi="http://www.w3.org/1999/XML/xinclude"
8
<xi:include href="source.xml" parse="text" encoding="UTF-8"/>
10
href - file to be included, may be specified with XPointer range.
11
parse - Parse file as "xml" (in this case root node of document
12
will be inserted), "text" (in this case will be inserted all text
13
in specified file, all special symbols will be escaped) or something
15
encoding - applicable only if parse!="xml", otherwise internal encoding of
16
included xml file used
20
<xi:include href="source.xml#xpointer(string-range(chapter/p[1],'Sentence 2')/
21
range-to(string-range(chapter/p[2]/i,'3.',1,11)))"/>
26
<p>Sentence 1. Sentence 2.</p>
27
<p><i>Sentence 3. Sentence 4.</i> Sentence 5.</p>
33
<p><i>Sentence 3.</i></p>