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

Re: Default Rendering of HTML?

Subject: Re: Default Rendering of HTML?
From: xptm <xptm@xxxxxxx>
Date: Sun, 21 Nov 2004 13:32:32 +0000
xsl default browser render
<testelement> is not a html tag, so how do you want it to display? Show the XML and the XSL you have, and what do you want as a result, there are lots of great expertises in the list that will help (i'm not one of the experts, but try to help as well).



Shawn wrote:

My apologies for the stupid newbie question......

I've been playing with XML/XSL for a while, and haven't yet been able to figure this out. The HTML code does not get rendered properly if I create an element like this:

<testelement>
	<h1>Title</h1>
	<p>This is some <strong>text</strong></p>
</testelement>

I've done some research into this and suspect it's because I'm using <xsl:apply-templates match="/">. As I understand things, this means I then need to create a template for each of the HTML tags. Other research suggests that I may need to somehow mark the tag as containing CDATA, but this is a bit over my head at this time.

Is there a better way to reference the contents of <testelement> and fall back to default browser behavior for the embedded HTML? If it helps any, I'm using PHP to transform my XML/XSL.

Thanks for any tips.

Shawn

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.