Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Searching in Sub-children from an Array

From: "Houman Khorasani" <Houman.Khorasani@----------->
To:
Date: 12/4/2006 3:50:00 PM
Hello,


I have an interesting problem here I have to solve with XSLT 1.0 or 2.0:


There is somewhere in the xml document a <steps> element that contains
several Ids:

<Steps>111,222,333,444</Steps>


1) The idea to find the first element, which has an ID attribute equal
the first found id in above (e.g. 111)
2) Find in the children of the Parent element above, the next element,
which has an ID attribute equal the second id (e.g. 222)
3) Find in the children of the Parent element above, the next element,
which has an ID attribute equal the third  id (e.g. 333)
3) Find in the children of the Parent element above, the next element,
which has an ID attribute equal the forth  id (e.g. 444)


I) 	Is there a way in XSLT to break down those values in <Steps> so
that I can navigate through them?
II) 	How do I search only in sub-elements of an element?



Many Thanks
Houman


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent