[XSL-LIST Mailing List Archive Home]
[xsl] Translating the contents of a XML field as HTML...
Subject: [xsl] Translating the contents of a XML field as HTML...|
From: "Phil Carty" <phil@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Jan 2003 06:10:53 -0500
I've been using XSL for only a week, but I am progressing quite well...I have a program which uses web pages as its interface, and part of the program requires an XML file with fields containing strings which themselves contain HTML to be included on the HTML output.
The only problem is the string from the XML file is displayed as-is, for example;
field value is, say: "<b>example text</b>"
But instead of being displayed as the text "example text" in bold, it is displayed as "<b>example text</b>".
Note: I hope the examples I gave wern't translated into HTML when posted =\
I hope that isn't too confusing, heh. Anyways, if there a way to make the XSL file make the string actually be translated as HTML? This is pretty vital to my program, and if I can't find a solution I'll need to rethinlk my approach.
Still, I bet there is a simple solution.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list