[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ignore previously defined xml output doctype decl

Subject: Re: Ignore previously defined xml output doctype decleration
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Mon, 1 Nov 2010 14:15:48 -0700
Re:  Ignore previously defined xml output doctype  decl
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.