Subject: Re: [xsl] XHTML Output From: "Paul Sleigh" <bat@xxxxxxxxx> Date: Fri, 14 Nov 2003 18:10:39 +1100 |
On Fri, 14 Nov 2003 17:36:58 +1100, "Todd Baker" <lists@xxxxxxxxxxxxxxxxx> said: > Hello, > > I am using the MSXML parser and my HTML output has the trailing slash's > removed (ie <br /> results in <br>) during the parsing. > > I want the output to be to contain these trailing slash's, does anyone know > what (and if there is) a command that will tell the parser to maintain these > trailing slash's? In Sablotron there's an extra output type, method="xhtml", that you specify in the xsl:output element. If that's not correct for pure XSLT, I presume method="xml" will do the trick nicely: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/> ... </xsl:stylesheet> : Bat : ------------------------------------------------------------ Fruitbat PO Box 1269, Belconnen ACT 2616 Eric TF Bat http://flurf.net/ Paul Sleigh bat@xxxxxxxxx Karl Faustus von Aachen 0407-468-244 ------------------------------------------------------------ It all sounds rather naive and sentimental to be talking about children laughing and dancing and singing together when we all know perfectly well that what children do in real life is snarl and take drugs. - Douglas Adams, _The Salmon Of Doubt_ ------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XHTML Output, Todd Baker | Thread | Re: [xsl] XHTML Output, David Carlisle |
[xsl] XHTML Output, Todd Baker | Date | RE: [xsl] need help on referencing, Andreas L. Delmelle |
Month |