I have XML data in a form like:
<Parent>
<Child>Value1</Child>
<Child>Value2</Child>
<Child>Value3</Child>
.
.
.
</Parent>
I have to set the HTML title attribute of the enclosing tag to the concatenated values, something like:
<xsl:attribute name="title">Value1,Value2,Value3,.,.,.</xsl:attribute>
I checked questions asked previously on SO, but most of the solutions were multiline, (and being new to XSL) I think that it i can’t include the multiline code within my <xsl:attribute></xsl:attribute> tags. How to go about this thing?
1 Answer