xsl:output and DOCTYPE declaration
Posted: Tue Sep 30, 2003 8:47 am
Please tell me if this has already been answered - i have been trying to figure this out for days, and i have look through the forum briefly but not spotted what i need.
I wish to output (valid) xhtml
in my xsl stylesheet i have an xsl:output statement like this:
<xsl:output encoding="iso-8859-1" method="xhtml" indent="yes" doctype-public="-//W3C//DTD XHTML 1.1//EN"
/>
oxygen gives the following output instead above my <html> element:
<?xml version="1.0" encoding="iso-8859-1"?>
obviously, this doesn't make for valid xhtml
### so the question is: is this a problem with oxygen or me?
any advice greatly appreciated
regards
Marty[/b]
I wish to output (valid) xhtml
in my xsl stylesheet i have an xsl:output statement like this:
<xsl:output encoding="iso-8859-1" method="xhtml" indent="yes" doctype-public="-//W3C//DTD XHTML 1.1//EN"
/>
oxygen gives the following output instead above my <html> element:
<?xml version="1.0" encoding="iso-8859-1"?>
obviously, this doesn't make for valid xhtml
### so the question is: is this a problem with oxygen or me?
any advice greatly appreciated
regards
Marty[/b]