Skip to content

Commit

Permalink
Add similar example, but with a simpler syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschr committed May 23, 2019
1 parent ce14dba commit e0965af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,13 @@
xpointer="xmlns(d=http://docbook.org/ns/docbook)
xpointer(id('sec.intro')/*[not(self::d:title)])"/>
</sect1>

<!-- (8) -->
<sect1 xml:id="sec.intro-with-element-scheme">
<title>Hello World with element()</title>
<!-- Same as sec.intro-with-other-title, but a bit simpler.
-->
<xi:include href="intro.xml" xpointer="element(sec.intro/2)"/>
</sect1>

</article>

0 comments on commit e0965af

Please sign in to comment.