How to get everything within an XML element with XSLT

ytwzlvi

New Member
I'm trying to get XSLT to transform something like\[code\]<foo> lorem ipsum <br /> some more lorem ipsum</foo>\[/code\]into \[code\]<p> lorem ipsum <br /> some more lorem ipsum</p>\[/code\]I've tried countless paths for the select attribute of \[code\]<p><xsl:value-of select="/foo/*" /></p>\[/code\]But none of them seemed to work. Is it even possible to get all the children of an element as plain text?
 
Back
Top