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

Re: with-param and context

Subject: Re: with-param and context
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: 28 Nov 2000 12:17:42 -0500
Re: with-param and context
/ Norman Walsh <ndw@xxxxxxxxxx> was heard to say:
| If you apply the following stylesheet to a document that consists
| simply of "<doc/>", you'll get:
| 
| text-only=0
| text-only=1

How embarrassing. This is another aspect of the question I asked
before which Michael Kay summarized perfectly:

  Because your <xsl:apply-templates/> is not invoking the relevant
  template rule directly. The current node is the root, so it invokes
  the built-in template rule for the root. This invokes your specific
  rule, which applies to all element nodes. The built in rule passes the
  mode through unchanged, but not the parameters.

D'oh! Nevermind.

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@xxxxxxxxxxxx | First time surrealists are often confused
XML Technology Center     | by the similarities between fish and
Sun Microsystems, Inc.    | telephones.


 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.