Project

Profile

Help

XSLT 3 stylesheet using apply-templates select="descendan... » input1.xml

Martin Honnen, 2018-10-18 16:11

 
<?xml version="1.0" encoding="UTF-8"?>
<root>
<record>
<header1>r1h1</header1>
<header2>r1h2</header2>
<item>
<foo>i1foo</foo>
<bar>i1bar</bar>
</item>
</record>
<record>
<header1>r1h1</header1>
<header2>r1h2</header2>
<item>
<foo>i1foo</foo>
<bar>i1bar</bar>
</item>
</record>
<record>
<header1>r2h1</header1>
<header2>r2h2</header2>
<item>
<foo>i2foo</foo>
<bar>i2bar</bar>
</item>
</record>
<record>
<header1>r3h1</header1>
<header2>r3h2</header2>
<item>
<foo>i3foo</foo>
<bar>i3bar</bar>
</item>
</record>
</root>
(2-2/2)