xsl-list
[Top] [All Lists]

Select parent node

2004-07-26 01:58:42
Hi there!

I've got this, (probably simple) question selecting only one specific node. 
Consider the following XML structure, how can I 
retrieve the values of the node where icon_nr = 2. I want to retrieve the 
icon's ID and the icon_title.

<icon id="2343">
        <icon_nr>1</icon_nr>
        <icon_title>Yesterday</icon_title>
</icon>
<icon id="3432">
        <icon_nr>2</icon_nr>
        <icon_title>Today</icon_title>
</icon>
<icon id="1023">
        <icon_nr>3</icon_nr>
        <icon_title>Tomorrow</icon_title>
</icon>


Thanks a lot!
Grtz, Bart
*************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or
the sender immediately. 
Do not disclose the contents to anyone nor make copies of this mail.
*************************************************************************************************



<Prev in Thread] Current Thread [Next in Thread>