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








