xsl-list
[Top] [All Lists]

AW: use preceding element or self

2005-04-29 04:44:43
The expression:

(preceding::par[(_at_)class='Komm_H3'])[text()[1][normalize-space()]][not(con
tains(text()[1],','))[1]][last()]

gave me different results while transforming with saxon8.2 and evaluating with 
xmlspy xpath2.0 evaluator. Meanwhile I changed to saxon8.4 and they deliver the 
same result.

When transforming my sample file (see last email), it still gives me two 
different results, (same with xmlspy xpath evaluator), once the expression 
selects the string (UMSATZSTEUER) and the other time whole node. On my real 
xmls strangely it always selects the whole node, instead of the required string.

Couldn't figure it out why??

Christoph




-----Ursprüngliche Nachricht-----
Von: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com] 
Gesendet: Freitag, 29. April 2005 13:20
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: RE: [xsl] use preceding element or self

Seems to be a Saxon issue.

I haven't been following this thread as DC seemed to have it under control.
If you think you've got a Saxon issue, please could you explain it from
first principles so I don't have to follow the thread back. Thanks.

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>