Re: Beginners question: Koala XSL-Engine and <xsl:process se
[Tyler Baker] > That is one way of doing things I suppose, but I don't like this at > all as it is confusing to deal with. It still seems silly to have > to refer to the root node when only one element of a particular type > can be the document element. Referring to the document element like > any other node makes working with the DOM a bit of a kludge since > you have to essentially create a dummy node that lives on top of the > document element. Where do you put comments and processing instructions that are siblings of the document element? Where do you put information about the DTD (in a data model that provides that information)? It makes sense for things that are siblings of the document element to be represented as siblings, so there needs to be some object that contains them. That is the root element. -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
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