Hi,
I would like to sort some fragments of a generated XML. The problem is that I would like to sort the XML by XPath specified in the generated document. It might look like this:


<document>
  <!-- ... -->
  <sort:sort by="element/name">
    <element>
      <name>xdfs</name>
    </element>
    <element>
      <name>asdfe</name>
    </element>
  </sort:/sort>
</document>

Is there any transformer that would do this (I couldn't find any)? Maybe it is possible to do it in XSLT? I think that XSLT isn't able to handle it, because it seems it can't evaluate XPath expressions that are stored /source document/.

Regards,
Marcin Okraszewski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to