This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: html output
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] html output
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- Date: Mon, 30 Apr 2001 10:26:38 -0400
- References: <F107cf3ednHM3SOlbpH00007770@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
[Zafer BAYRAKTAR]
> 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'/>
Chees,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list