Subject: Re: [xsl] Empty elements From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 30 Oct 2001 15:05:35 GMT |
> Is there any way to force XSLT to generate an empty element with an > opening and closing tag, rather than a single empty tag? You appear to be writing html. If the top level element of your output is <html> (in any case) then the XSLT processor should default to html output method. In this method empty elements will not be output using xml empty element syntax. If for some reason you are generating html which does not start with an html element then you can force html output using <xsl:output method="html"/> David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Empty elements, Julien Quint | Thread | [xsl] running java from xsl, Juan Perez |
Re: [xsl] Empty elements, Julien Quint | Date | Re: [xsl] XSL-Fo and CSS, Max Froumentin |
Month |