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

Re: do you use pi's?

Subject: Re: do you use pi's?
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Sun, 04 Apr 1999 17:31:30 -0500
xml stylesheet element
"Liam R. E. Quin" wrote:
> 
> I might have argued for:
> <XML>
>   <stylehsheet href="xxx" type="yyy">
>     <menu>Big Type</menu>
>     <desc>Large type and clear colours for easier readability</desc>
>   </stylesheet>
> </XML>
> 
> When XML was being developed, this was argued against because it
> "polluted the element name space" by using the name "XML" -- which was
> later reserved anyway.  With namespaces in place, an XML element looks
> a lot more desirable to me.

The problem isn't that an "xml:stylesheet" element would stop someone from
creating their own "xml:stylesheet" element. It's that an "xml:stylesheet"
element would have to be inserted into each and every DTD. The XML
encoding declaration element type would have to be inserted in every DTD
at every level where the encoding could change!

Processing instructions are useful because they are invisible to the
validator. This gives us a rule of thumb of where how they should be used:
when a structural instruction should be invisible to the validator.
Examples include editor-specific meta-information that is invariant across
document types, formatter-specific information (e.g. page breaks) that is
invariant across document types and so forth.

 Paul Prescod


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