[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Ignore previously defined xml output doctype decleration


Subject: [xsl] Ignore previously defined xml output doctype decleration
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Sun, 17 Oct 2010 21:44:46 -0700

I have a base template that declares a doctype for the generated xml like
this:
<xsl:output
method="xml"
doctype-public="-//W3C//DTD SVG 1.0//EN"
doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"
/>

In a template that imports this base template I would like to override
the doctype deceleration, I would like to omit it entirely.  Can this
be done with XSL 1.0?

Thanks,
Karl..
--
Karl Stubsjoen
MeetScoresOnline.com
(602) 845-0006


Current Thread
Keywords