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

RE: doctype decl problem

Subject: RE: doctype decl problem
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 3 Mar 2000 12:26:54 -0000
doctype dtd path weird
> 
> Either way, I have a file which when used with the above 
> prolog shortened to
> 
> <?xml version = "1.0" ?>
> <!DOCTYPE svg  SYSTEM "path/to/myLocalCopyOf/SVG-19991203.dtd">
> 
> No element below the root is triggering any of the templates....

Weird. Can't think of any legitimate reason for this. What XSLT processor
and XML parser are you using?

> btw, if / is the root template, whats the 'outermost' 
> container called, in this case <svg> ? 

I call it the "outermost element". In DOM it's called the "document
element". XML section 2.1 says "There is exactly one element, the
<b>root</b>, or document element, no part of which...

XPath uses the term "root" for what the DOM calls the "document", and it
doesn't have a name for the outermost element, because there doesn't have to
be one (XPath works on what the XML Fragments proposal calls a "well
balanced document", which XSLT calls an "external general parsed entity" -
i.e. not only on well-formed documents).

Shame that these committees don't talk to each other.

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.