node10-libxslt
Version:
[Fork] Node.js bindings for libxslt compatible with libxmljs
80 lines (70 loc) • 1.79 kB
text/xml
<!-- test document -->
<set><title>Set Title</title>
<book><title>Book Test Document Title</title>
<bookinfo>
<title>Bookinfo Test Document Title</title>
<subtitle>Book Subtitle</subtitle>
<authorgroup>
<author><firstname>Norman</firstname><surname>Walsh</surname></author>
</authorgroup>
</bookinfo>
<preface><title>Foreword</title>
<para>This is a test paragraph.</para>
</preface>
<chapter id="chapter">
<title id="chaptertitle">Section Tests</title>
<sect1><title>First Sect1</title>
<para>Paragraph.</para>
</sect1>
<sect1><title>Second Sect1</title>
<para>Paragraph.</para>
</sect1>
<sect1><title>Third Sect1</title>
<para>Paragraph.</para>
</sect1>
</chapter>
<appendix><title>First Appendix</title>
<para>This is just a test.</para>
<sect1><title>First Sect1</title>
<para>Paragraph.</para>
</sect1>
<sect1><title>Second Sect1</title>
<para>Paragraph.</para>
</sect1>
<sect1><title>Third Sect1</title>
<para>Paragraph.</para>
</sect1>
</appendix>
</book>
<book><title>Book Test Document Title</title>
<bookinfo>
<title>Bookinfo Test Document Title</title>
<subtitle>Book Subtitle</subtitle>
<authorgroup>
<author><firstname>Norman</firstname><surname>Walsh</surname></author>
</authorgroup>
</bookinfo>
<preface><title>Foreword</title>
<para>This is a test paragraph.</para>
</preface>
<chapter>
<title>Section Tests</title>
<sect1><title>First Sect1</title>
<para>Paragraph.</para>
</sect1>
<sect1><title>Second Sect1</title>
<para>Paragraph.</para>
</sect1>
<sect1><title>Third Sect1</title>
<para>Paragraph.</para>
</sect1>
</chapter>
<appendix><title>First Appendix</title>
<para>This is just a test.</para>
</appendix>
</book>
</set>