|
Subject: RE: [xsl] Converting entities into string From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Thu, 19 Jul 2001 02:48:28 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Converting entities into , Robert C. Lyons | Thread | RE: [xsl] Converting entities into , Joerg Pietschmann |
| [xsl] alternating table background , Michael Bauerfeld | Date | RE: [xsl] Preserve the structure in, Michael Kay |
| Month |