anton, you're completely right, but I think my problem actually has to
do with the namespace...
(even queries without the lang() stuff fail as long as there is a
namespace definition...)
thanks!
--
jan
On Sat, 23 Oct 2004 22:28:13 +0200, Anton Triest <anton(_at_)cking(_dot_)be>
wrote:
Jan Limpens wrote:
can anypne tell me why this query
//Document[(_at_)href='Publications.aspx']/Information[lang('de')]/Title
yields no results on this document
The lang() function checks the input for an xml:lang, not a lang attribute
so you can either use xml:lang in your input:
<Document href="Publications.aspx">
<Information xml:lang="de">
or leave the lang attribute as it is but test it like this:
//Document[(_at_)href='Publications.aspx']/Information[(_at_)lang='de']/Title
HTH,
Anton
--+------------------------------------------------------------------
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>
--+--
--
Jan
http://www.limpens.com
Otakoo Saloon Cartoon - newest episode at http://limpens.com/oscredirect