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]
Other format: [Raw text]

Mutiple values for variable


Hi All !
My XML File contents:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<Section ID="ID1" SELECTED="" />
<Section ID="ID2" SELECTED="" />
<Section ID="ID3" SELECTED="" />
<Section ID="ID4" SELECTED="" />
<Section ID="ID5" SELECTED="" />
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Now, I have a list of IDs like say ID1, ID2 and ID5, for which I wish set the value of the attribute 'SELECTED' to "YES" and the rest to "NO".
I am not sure as to how I can send multiple value for the same variable at the same time and then update the values.
Can someone please give me some kind of a pointer.
Thanks for your help in advance.

Kunal

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]