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

RE: feature request; id idref pairs

Subject: RE: feature request; id idref pairs
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Wed, 9 Feb 2000 12:55:03 -0000
RE: feature request; id  idref pairs
David Carlisle wrote:

>In the meantime you can do something like
>
>select="//*[@idref=current()/@id]"
>
>which is probably not very efficient, but quicker than waiting for
>xslt 2. If you have some idea where the referencing elements are, and
>can therefore use something other than //* it probably isn't too bad.

Thinking of a flowchart, there could be many idref's which
link to, say, the final output box.

Another problem is that the referring element's attributes
may not be named idref. given that they have different
names, and I don't know how many there are, I am
asking for it to be considered.

In this particular case, I have control of the attribute names,
hence could make it consistant.

Contra to this, I wanted the prompt (for the attribute value)
to be understood by non sgml'ers.

Hence the attribute names are
   YesoutputTarget
   NoOutputTarget
   NextBox

etc.

I will indeed use the suggested approach; I'm querying
if its an adequate use case to warrant inclusion in 
an update to the XSLT functions.


Regards, DaveP



 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.