[xsl] Template for node-set parents

Subject: [xsl] Template for node-set parents
From: Darren Oh <darren@xxxxxxx>
Date: Fri, 19 Oct 2012 13:03:17 -0400
I am trying to generate a stylesheet that copies an XML source document. The
only change should be that nodes selected by an XPath expression are sorted. I
want this to work for any XML source document. The only information available
to generate the stylesheet is the XPath expression and the sort criteria. I
think this requires creating a template for the parents of the nodes selected
by the XPath expression. How can I do this?

Current Thread