[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: where is an exhaustive reference for xslt?
Thanks for the clarification, David. I think I was trying to draw the first conclusion based on what I remember from my experiments with LRE stylesheets. whoops! ~ Scott -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Friday, October 19, 2007 7:04 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: where is an exhaustive reference for xslt? > It's an unqualified attribute in this case, yes. Since the parent > element is in the xsl: namespace, an unqualified attribute ends up in > that namespace as well. Unprefixed attributes are always in no-namespace, they do nt inherit the namespace of their parent (or the default namespace). > I seem to remember that my stylesheets break if I prefix the version > attribute in the <xsl:stylesheet> element. However, if you need to put a > xd:version attribute in the top element for other reasons, you'd need to > prefix that one. XSL stylesheets that have a top level element of stylesheet or transform in the namespace http://www.w3.org/1999/XSL/Transform must have a version attribute (no prefix). Conversely stylesheets using the "literal result element as stylesheet" syntax must have a (prefixed) attribute in the namespace http://www.w3.org/1999/XSL/Transform with local name version. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|