RE: [xslt] template matching issue with node-sets?



> > Is this a bug or am I insane (or, possibly, both).
> 
>   Both. It's insane because initially the XSLT data model did NOT
> allow that kind of constructs. It get possible only via the use of
> the node-set extension and this create a huge amount of technical 
> problems.
> 
>   a template matching DIRTREE[d][f] means it matches all the nodes
> //DIRTREE[d][f] in the current document. the node set has no document
> or if it has a document it is not reachable from the node itself.
> 
>   Log the bug please, but understand that the use and abuse of the
> node-set extension was not initially part of the XSLT model.
> 
http://bugzilla.gnome.org/show_bug.cgi?id=75813

Not that big of a deal -- I worked around this by using a match
DIRTREE[(d)and(f)] which works.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]