|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|

Cart








