RE: How does one convert an RTF to a string?
> I have an RTF like this : > > <xsl:variable name="test"> > <root> > <child attrib="something">value</child> > </root> > </xsl:variable> > > Doing xsl:value-of on $test produced "value" whereas I really want > to be able to get the string : > > <root> > <child attrib="something">value</child> > </root> > > How can I do this? Will I have to write an XML serializer in XSL > or is there an easier way? You either have to write an XML serializer in XSLT, or you have to write one as an extension function, or you have to find one that's already been written in XSLT, or you have to find one that's already been written as an extension function: such as saxon:serialize(), for example. Michael Kay http://www.saxonica.com/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format