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

Re: How is this part of the XSLT specification to be interpr

Subject: Re: How is this part of the XSLT specification to be interpreted?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 21 Jun 2000 17:04:31 +0100 (BST)
Re: How is this part of the XSLT specification to be interpr
> Building on David Carlisles stylesheet, to make it a *bit* more
> obvious what's going on :-)

But youve made it more crypticly self referential, haven't you?

  <xsl:template match="main:xxx">
    <doc:template>
      <xsl:fallback><doc>
        This template matches the  "<xsl:value-of select="name()"/>"
  element.</doc>

Here you are using embedded XSL to within the documentation of
the XSL, furthermore since the XSL refers to the source document
you can't get a readable vesrion of the documentation without
actually running the stylesheet on the source????

Wouldn't it be clearer to have

 This template matches the xxx element from the namespace associated
 with main:


That way the pretty printer only needs the _stylesheet_ as input, not
the stylesheet and the source document.


> I think I'd rather see some java class that processed stuff in the 
> doc namespace. Then at least it would look better.

why Java? XSLT seems the most obvious implementation language.


David


 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.