![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Selecting a node based on its text value Selecting a node based on its text valueTo: NULL Date: 11/8/2006 2:01:00 PM
if I have the following structure as my xml file
<Items>
<Item>
<mytext>1</mytext>
<items>
</items>
</item>
<item>
<mytext>2</mytext>
<items>
<item>
<mytext>3</mytext>
<items></items>
</item>
<item>
<mytext>56</mytext>
<items></items>
</item>
<item>
<mytext>565</mytext>
<items></items>
</item>
<item>
<mytext>33</mytext>
<items></items>
</item>
</items>
</item>
<item>
<mytext>89</mytext>
<items></items>
</item>
how would I select the item node that contained the mytext node where
the text is 565? is there a way to do this type of query? I have
seen examples where the user does it using an attribute but have been
unsuccessfull at finding an example where it is based on the text
inside the node.....
any help would be appreciated.
where each item can contain an items collection within itself
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
