Subject: Re: [xsl] Doctype Declerations Imported StyleSheets From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx> Date: Sat, 10 Feb 2007 19:34:51 +0100 |
If I have a base template and I set the output to:
<xsl:output method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01//EN" doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>
Do I need to call out this doctype again in a template which imports this base template? It seems I do. If I don't, the resulting doctype is different than the doctype called out above. So how does this work?
What is the processor you are using ? XSLT 1.0 or XSLT 2.0 ? As the output element has to be a child of the stylesheet element, I think you cannot have it in an importet template.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Doctype Declerations Imported, Karl Stubsjoen | Thread | Re: [xsl] Doctype Declerations Impo, Karl Stubsjoen |
[xsl] Doctype Declerations Imported, Karl Stubsjoen | Date | Re: [xsl] Doctype Declerations Impo, Karl Stubsjoen |
Month |