This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: feature request; id idref pairs



> Today I can't find the nodelist which calls any particular box.

appendix G says:
> a way to get back from an element to the elements that reference it
> (e.g. by IDREF attributes); 

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.

David


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]