Subject: Re: how to output to html from xsl? From: Victor Hu <vhu@xxxxxxxxxxxx> Date: Wed, 14 Jun 2000 14:56:15 -0500 |
figured it out: <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> thanks all. - Victor Daniel Hinz wrote: > Kay Michael wrote: > > > > > > > > I also tried put   in my xsl file, it had the same > > > problem. Is there any way to write out to an html file? > > > > > This is a FAQ and also the subject of another thread currently running. > > " " and " " and the invisible character xA0 in HTML are absolutely > > equivalent, > > so if your browser renders them differently, get another browser. > > You can also implement org.xml.sax.DocumentHandler (in SAX 1.0)and > attach this to an XSLT processor. > > In your Stylesheet you create a special tag, like <nbsp/>. > > Now, when your DoucmentHandler encounters the element it writes out > > > > instead of your Tag. This type of DocumentHandler is called a Filter. > > This is a lot better than switching browsers (if you use Netscape ;-)). > > Regards, > > Daniel Hinz > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: how to output to html fr, Daniel Hinz | Thread | Re: how to output to html fr, Victor Hu |
How to count with MSXSL, Stephen Wire | Date | Should I use XSLT or DOM, Junk Junk |
Month |