Hi all,

I'm probably being daft here, but I'm having a problem using jstl xpath with a simple Atom feed.

Here's my code:

<c:import var="feed" url="http://darthside.blogspot.com/atom.xml"/>
<x:parse var="doc" doc="${feed}" />
<x:out select="$doc/feed/link/title/text()"/>
<x:forEach select="$doc/feed/entry">
     hello
</x:forEach>
<hr/>
<x:out select="$doc"/>

The final x:out shows the whole document, so it seems to be parsing okay, but I can't get any of the contents out using xpath.

Please put me out of my misery!

TIA

Digby


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to