xsl-list
[Top] [All Lists]

Re: [xsl] Ignore previously defined xml output doctype decleration

2010-11-01 16:15:58
I figured.  Thanks.

On Mon, Oct 18, 2010 at 12:40 AM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:
 Erratum E31 to XSLT 2.0

http://www.w3.org/XML/2007/qt-errata/xslt-errata.html#E31

specifies that doctype-public="" and doctype-system="" should override a
value set with lower precedence, but for XSLT 1.0 the answer sadly is "no".

Michael Kay
Saxonica

On 18/10/2010 05:44, Karl Stubsjoen wrote:

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or 
e-mail:<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [xsl] Ignore previously defined xml output doctype decleration, Karl Stubsjoen <=