Hi there, > I have a problem with a JPath expression that schould iterate over some > elements of DOM tree. It should be very easy but for some reason it is > not working. The XML data looks like the following: [....]
Unfortunately I could not figure out what is wrong. As I am quite in a hurry I have to think about other possibilities of accessing the dom tree. By the way, the DOM tree was created with flowscript. I have a pipeline called "data" which produces the xml data for the dom tree and in the flowscript I have the following to build the dom tree: var source = resolver.resolveURI("cocoon:/data"); var dom = Packages.org.apache.cocoon.components.source.SourceUtil.toDOM(source); As I described before the access with jpath works fine as long as I am not using a for-each loop. But as soon as I am using a "jpath:for-each" I can't use "jpath:value-of select" in the loop because I always get a "xpath not found". Are there any other possibilities to access the DOM tree with a loop in an XSP File besides JPath? regards, Garvin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]