[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Generic Element to Attribute String Conversion


Subject: [xsl] Generic Element to Attribute String Conversion
From: John <john-xsl-list@xxxxxxxx>
Date: Fri, 04 Feb 2005 10:33:25 -0800

I imagine this is a common question and I am sure I could solve it; I am hoping someone can point me at something tested against similar requirements.

If I have a variable containing a string such as:

/a/b/c

What is the most efficient way to create a new variable with with the string:

/item[@name='a']/item[@name='b']/item[@name='c']

? Thanks and regards,

-John


Current Thread