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

RE: Is it legal to extend the xml-stylesheet DTD ?

Subject: RE: Is it legal to extend the xml-stylesheet DTD ?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 12 Jun 2000 14:40:23 +0100
RE: Is it legal to extend the xml-stylesheet DTD ?
> <?xml-stylesheet 
> 	type="text/xsl" 
> 	media="html" 
> 	title="Developers Job Summary (Slate)" 
> 	href="../../xsl/slate.xsl" 
> 	alternate="yes" 
> 	suffix=".html" 
> ?>

In XML, a processing-instruction does not have attributes, it just contains
unstructured text. That is why these things are "pseudo-attributes": they
will not be unpicked by the XML parser, rather by the application.
Therefore, the DTD has nothing to say on the matter.

Whether adding an extra pseudo-attribute is within the requirements of the
"associating stylesheets" spec is another matter. I think it's silent on the
question.

Mike Kay
> 
> 
> Here I've created the attribute "suffix" which is not in the spec, and
> used it for purposes of my own. 
> 
> <reference> http://www.w3.org/TR/xml-stylesheet/ </reference>
> 

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.