This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

List in a variable


Hello Guys,

 	I want to have a variable containing a list of a attribute of all the
occurrence of a particular tag.

Precisely I have a xml like

<component name="TestCom">
<class name="Person" type="first">
..
..
</class>
<class name="Address" type="second">
..
..
</class>
<class name="Info" type="second">
..
..
</class>
..
..
...
</component>

In the above xml type attribute of class tag can have value either first or
second. I want to have variable containing names of all the second classes.
For the above case I want to have a variable (say myVar) with the value
"Address#Info" where # is just a separating character between the names of
the class.

I hope I am able to clear my requirement.

Thanks in advance

 Nitin




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]