|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Html tags as part of XML elements rendered as text
I use an XSL stylesheet to parse an XML document into html. The problem is that one of the XML elements contains HTML tags and the stylesheet renders it as text in IE5. Below is the XML element: <?xml version = "1.0"?> <root_node> <child_node> <category>1011</category> <target>http://www.mysite.com/script.fgi?cat=1011&uid=2000204484&tim eid=1668</target> <image>http://www.mysite.com/img/image.jpg</image> <link><font face=helvetica size=2><b>this thing costs</b><br>$219.00</font></text> </child_node> </root_node> This is a portion of the XSL document I am using to parse this XML: <a><xsl:attribute name="href"><xsl:value-of select="target"/> </xsl:attribute>Target!!!</a> <img><xsl:attribute name="src"> <xsl:value-of select="image"/> </xsl:attribute></img> <xsl:value-of select="text"/> The 1st one renders a hypertext link, the 2nd an image. The 3rd renders the contents of <text> literally. I need to have <text> rendered as it looks like it should, as HTML with the <font> and other elements used in the resultant rendered HTML. I've looked everywhere for an example of this, but no luck. Any suggestions? Dave - 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
|

Cart








