Some XML Help
Posted: Tue Jan 25, 2005 10:51 am
Can anyone help me get some data output in XML the way my customer wants it?
What they want is:
<Interfaces>
<Interface>Data from Row 1</Interface>
<Interface>Data from Row 2</Interface>
<Interface>Data from Row 3</Interface>
</Interfaces>
In the XPath I have
/Interfaces/Interface/Data1/text()
/Interfaces/Interface/Data2/text()
...
With Aggregate All Rows selected we get:
<Interfaces><Interface>Data from Row 1</Interface></Interfaces>
<Interfaces><Interface>Data from Row 2</Interface></Interfaces>
<Interfaces><Interface>Data from Row 3</Interface></Interfaces>
Can anyone direct me in the right direction????
Thanks, Tony
What they want is:
<Interfaces>
<Interface>Data from Row 1</Interface>
<Interface>Data from Row 2</Interface>
<Interface>Data from Row 3</Interface>
</Interfaces>
In the XPath I have
/Interfaces/Interface/Data1/text()
/Interfaces/Interface/Data2/text()
...
With Aggregate All Rows selected we get:
<Interfaces><Interface>Data from Row 1</Interface></Interfaces>
<Interfaces><Interface>Data from Row 2</Interface></Interfaces>
<Interfaces><Interface>Data from Row 3</Interface></Interfaces>
Can anyone direct me in the right direction????
Thanks, Tony