from xml text
I want just element name hierarchy like below.
any ideas?
TIA.
data :
<?xml version="1.0" encoding="UTF-8"?>
<PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNames
paceSchemaLocation="http://www.oracle.com/xdb/po.xsd">
<Reference>MILLER-200203311200000000PST</Reference>
<LineItems>
<LineItem ItemNumber="1">
<Description>The Ruling Class</Description>
<Part Id="715515012423" UnitPrice="39.95" Quantity="2"/>
</LineItems>
</PurchaseOrder>
desired result :
PurchaseOrder/Reference
PurchaseOrder/LineItems
PurchaseOrder/LineItems/LineItem
PurchaseOrder/LineItems/LineItem/Description
PurchaseOrder/LineItems/LineItem/Part
[Updated on: Mon, 25 October 2010 10:20] by Moderator
Report message to a moderator