Hi again,
Thanks for the article, it really helped in understanding how can connect to the current XML tag choosen.
However, i still some help in a condition i'm trying to meet in order to display the right data.
Like i mentioned in the 1st message i've posted, i'm trying to display the values on a sub xml tree.
here is the XML tree:
- <entity caption="Configuration Item">
- <group caption="SVR01">
<field key="C0" caption="Search code">SVR01</field>
<field key="C1" caption="Type">Backup Server</field>
<field key="C2" caption="Model">ProLiant DL380 G3</field>
<field key="C3" caption="Contract">HP01</field>
<field key="C4" caption="OS">Windows 2000 Server</field>
<field key="C5" caption="Location">BOMBAI</field>
</group>
- </entity>
after reading the article i've manged to display the field value of a certain group caption (using xPATH function in a rule in the combobox control):
xdXDocument:GetDOM("XML DATASOURCE")/entity/group/field[../../group/@caption = current()]
but when i tried to add condition to the rule: "caption == "Location" (/field/caption) in hope that the location "BOMBAI" will be displayed in the target txtbox it didn't work.
however when removing the condition, it did show the 1st field value "SVR01".
Anyone knows the correct syntax for this conditioning?
thanks,