[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|