[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Converting entities into string
> In short: how can i convert the '<' and '>' into '<' and > '>' easily? You arent trying to convert "<" int "<"; you are trying to convert an element node called b into a text node whose value is "<b>text</b>". This is because transformations work on trees: the text node "<b>text</b>" in the tree will be serialised using "<" in the output file. So you want something like <xsl:template match="b"> <b><xsl:value-of select="."/></b> </xsl:template> Though why you should want to do something so weird has me quite baffled. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|