|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XHTML Output
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








