on 12-10-2009 8:38 PM
How would we extract the values from an XML output if we didn't know the column names? For example, my XML output looks like this -
- <Rowset>
- <Columns>
<Column Description="DateTime" MaxRange="0" MinRange="0" Name="DateTime" SQLDataType="93" SourceColumn="DateTime" />
<Column Description="MII Will Write to This Tag" MaxRange="0" MinRange="0" Name="Channel_4.SI.SI30500_kep.message" SQLDataType="12" SourceColumn="Channel_4.SI.SI30500_kep.message" />
</Columns>
- <Row>
<DateTime>2009-12-10T14:12:56</DateTime>
<Channel_4.SI.SI30500_kep.message>String 40</Channel_4.SI.SI30500_kep.message>
</Row>
I need to extract the value of 'Channel_4.SI.SI30500_kep.message' tag.
Can I do it with something like /Rowset/Row/Column2?
Regards,
Chanti.
Chanti,
solution is
{/Rowsets/Rowset/Row/*[X]}
x = is the column number.
BR
Pedro Iglesias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.