XSLT refererring attributes
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have some XML generated on fly. I only know the names of elements. The attributes in those elements can have different names in different scenarios. Even the number of attributes in those elements may differ. Can i write a single XSLT to convert these dynamically generated XML into my desired format ?? Note: I do know at design time the name of elements, but i don't know the name of attributes and number of attributes in the element. This could be done in programming languages by looping through all the attributes. Can this be done in XSLT ?? Thanks in advannce, Hatim Ali.