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

Subject: Re: [xsl] Ignore previously defined xml output doctype decleration
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Mon, 1 Nov 2010 14:15:48 -0700
I figured.  Thanks.

On Mon, Oct 18, 2010 at 12:40 AM, Michael Kay <mike@xxxxxxxxxxxx> 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
>
>



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

Current Thread