Re: Can't access a variable's children in extension element

Michael Ludwig <[email protected]>
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <20090420222801.GG2160@wladimir>
Peter Carberry schrieb am 16.04.2009 um 15:03:03 (+0100):
> Hi Michael,
> 
> I'm not using any of the conversion functions, just creating a
> standard XPath object and calling its execute method. I know from
> debugging that the XObject returned is a nodeset, in the case of every
> call after the first however it is empty.
> 
> It seems as if whatever way I'm using XPath it's only allowing me to
> resolve the variable the first time. If I replace all instances of the
> variable in the stylesheet with the key statement that generates it
> (ie switching "key('myKeyResolvesToBlah', 'blah')" for "$blahVar")
> then the XPath queries all resolve OK. There's something that
> <xsl:value-of select="" /> is doing that I am not, but I don't know
> what it is.

Hi Peter,

maybe the best way to solve this is to post a small, self-contained
example that exposes the problem, so others can reproduce it or debug it
in their environments.

Best,

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.