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

Re: Found a problem on IE5.0

Subject: Re: Found a problem on IE5.0
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Fri, 26 Mar 1999 13:59:48 -0500 (EST)
document.element.type
Oliver Brand talks about /.

The root node is *not* the same as the document element.  The root
node contains the document element, the prolog, and other stuff.
Right now, there's no way to get to any of the other content of the
root node except the document element, but there may be later.

Here's why separating the two concepts is useful, something that it
bugs me that CSS doesn't currently have: in many document types,
multiple element types can serve as the document element.  For
instance, in DocBook, a <chapter> or an <appendix> might be the root.

In XSL, I can make a root rule that sets up the viewing context, and
rules for the chapter and the appendix that set up different
processing for them.  The root rule always fires, but what happens
inside it varies by what the document element type is.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 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.