[Home] [By Thread] [By Date] [Recent Entries]
Thanks for your advice. So I should move smoothly away from usage of
id() and idref()? I always thought (in fact I hoped it would be that
way) that elements with ID-attributes are treated in a special way while
they are parsed (some sort of indexing done automatically), which would
enhance processing performance... But Saxon seems to do a lot in
background.
Michael Kay wrote: yes, and I often construct a "more qualified" key access on the fly likeI'm thinking of moving away from DTD towards RelaxNG, but what will happen to my tool chain? Especially loosing the possibility of fetching elements via id() and idref() would hurt me most. <xsl:key name="column-by-fullname" match="column" use="concat(parent::table/@name,'.',@name)"/> (And in Saxon-SA these days you don't really need to bother with key() either, you can just write //x[p='q'] and let the system take care of it).
|

Cart



