#match("document") Infile: $context.getAppValue("infilename")
Outfile: $context.getAppValue("outfilename")
There are $node.valueOf('count(section)') sections.
$context.applyTemplates() #end #match("section")
Section: $attrib.name $context.applyTemplates("p") #end #match("p")
$node.copy( $node.children() )
#end