Subject: RE: [xsl] Why <br /> in XSLT Stylesheet changed to <br> in HTML output From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 15 Jan 2004 10:49:51 -0000 |
> > I have some <br /> tags in my XSLT stylesheet. But they are > changed to <br> in HTML after transformation. Any idea why > this is happening? > It's happening because that's the correct way of representing a br element in HTML, and because that's how the XSLT processor says it should be done. Tags, of course, disappear long before XSLT gets to see the data. All that XSLT sees is a tree of nodes. If you want <br />, then you're using the wrong output method. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Why <br /> in XSLT Styles, David Carlisle | Thread | Re: [xsl] Why <br /> in XSLT Styles, annirack |
[xsl] [HELP] Preserving character r, Borges Charles | Date | RE: [xsl] Preserving newline / mult, Michael Kay |
Month |