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

Re: RE: Should expansions be allowed in select/match strings

Subject: Re: RE: Should expansions be allowed in select/match strings ?(OR can you solve this without this !?)
From: "Alistair MacDonald" <AlistairMacDonald@xxxxxxxxxxxxx>
Date: Mon, 29 Mar 1999 14:15:35 +0100
should downloading be allowed

>>> Mark Birbeck <Mark.Birbeck@xxxxxxxxxxxxx> 03/26 3:12 pm >>>
> We had the same frustration with IE5, but can now achieve it with the
> new context() function (in our case we wanted to jump from one node to
> another when processing fragments and fragment contexts.) Your line
> would become:
> 
>	<xsl:for-each select="../../../item[@name=(context()/@src})]">
>
>I don't know if this is an MS-only extension or not, but it has allowed
> us to implement loads of the rules that we just couldn't do before.

This must be MS-specific since it isn't in the WD, isn't supported by XT. It also looks very similar to my first example (included again below).

However, it doesn't ANSWER the question - well, apart from saying that MS do it - which was "SHOULD this be allowed ?". I suppose the secondary question is "why ISN'T it allowed?" - was it deliberate, or just an oversight ?

(Telling my boss that the only way to do what he wants is rewrite large chunks of the files using java and/or load each file into IE and then save it is unlikely to go down well ... 8-)

> -----Original Message-----
> From: Alistair MacDonald 
[...]
> One way of dealing with this would be to do something like:
> 
> -----
> <xsl:for-each select="../../../item[@name={@src}]">
> ...
> </xsl:for-each>
> -----


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.