[xsl] Create XML from XPath expressions

Subject: [xsl] Create XML from XPath expressions
From: "Heiko Niemann" <kontakt@xxxxxxxxxxxxxxxx>
Date: Tue, 18 Aug 2009 10:19:12 +0200

I've an xml diff result that looks similar to this:


<NewValue>2020 Washington Ave.</NewValue>



<NewValue>Los Angeles</NewValue>


Now I want to build a new xml based on the XPath expressions in each Path
element just using XSLT. So the result should look like this:


  <street type="business">2020 Washington Ave.</street>
  <city>Los Angeles</city>


I have different processors and extensions available and I have tried
several approaches. Also available are the xml files I compared to get the
diff result.

Thank you for your help and ideas.


Current Thread