[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSL outputting HTML from an XML source

Subject: XSL outputting HTML from an XML source
From: Ariel Garza <g@xxxxxxxxxxx>
Date: Fri, 19 May 2000 11:04:23 -0700
ariel garza
I have been looking for a good template language and I like the XSL/XML
combination very much but I have a problem.  In order to have a generic
template language I need the ability for a piece of XML to look like:

<CONTENT>
This is a generic piece of content that a content person wants to have
<B>dynamic bold</B> in.
</CONTENT>

I dug around through the list archives and found some threads relating
to this but am having trouble with a workaround.  Some people said that
using:

...wants to have &lt;B&gt;dynamic bold&lt;B&gt; in.

would give the desired result of the XSL template spitting out the HTML
as HTML but that just shows up as though the less-than and greater-than
signs had been escaped (In other words, Netscape just prints out
<B>dynamic bold</B> without evaluating the tags).  Is there a way to
include HTML on the fly, not knowing where in the tree it is and have
the XSL stylesheet output it as though it were HTML and not text? If I
use straight <B></B> tags in XML, is there a way to have a stylesheet
interpret all <B></B> tags automatically?  Any help would be greatly
appreciated...

Ariel Garza
agarza@xxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.