Re: [xsl] html output

Subject: Re: [xsl] html output
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Mon, 30 Apr 2001 10:26:38 -0400

>     The browser outputs xml source instead of html output.

Well, you aren't going to magically get html.  You have to write your
stylesheet to produce it.  What method='html' does is to let you output
things like <br> that are not well-formed xml but are legal in html.  In
this example, the stylesheet has to contain <br/> (i.e., well-formed xml)
and the output will be <br>.

For example, you won't get the html element  <html>...</html> in your
document unless you include it in your stylesheet, even if you use
<xsl:output method='html'/>


Tom P

 XSL-List info and archive:

Current Thread