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

RE: Doctype Declerations Imported StyleSheets

Subject: RE: Doctype Declerations Imported StyleSheets
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 11 Feb 2007 09:31:28 -0000
RE:  Doctype Declerations Imported StyleSheets
If there is an <xsl:output> in an imported stylesheet module, and no
<xsl:output> in the importing stylesheet module, then the imported one
should take effect.

(I suspect Manfred has been confused by you referring to "templates" when
you meant modules; or it's possible that I'm the one who's confused).

Michael Kay
http://www.saxonica.com/

 

> -----Original Message-----
> From: Karl Stubsjoen [mailto:kstubs@xxxxxxxxx] 
> Sent: 10 February 2007 17:27
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Doctype Declerations Imported StyleSheets
> 
> If I have a base template and I set the output to:
> 
> <xsl:output method="html" indent="yes"
> 	doctype-public="-//W3C//DTD HTML 4.01//EN"
> 	doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>
> 
> Do I need to call out this doctype again in a template which 
> imports this base template?  It seems I do. If I don't, the 
> resulting doctype is different than the doctype called out 
> above.  So how does this work?
> 
> Thanks,
> 
> Karl..

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-2011 All Rights Reserved.