tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Digby <li...@digby.net>
Subject Problem with namespaces jstl / xml
Date Sat, 28 May 2005 06:48:40 GMT
Hi all,

I've narrowed down the problem I had before with atom feeds not working, 
and it all seems to be due to the namespace declaration in the root element:

<feed version="0.3" xml:lang="en-US" xmlns="http://purl.org/atom/ns#">

This fails, and any x:out cannot see any elements (e.g. 
$doc/feed/@version) - presumably because xpath is looking for a 
particular namespace.

<feed version="0.3" xml:lang="en-US"> works fine.

Since there isn't a namespace prefix, what do I do? THis isdriving me 
potty, sinceI can't be the frist person with this problem.

Many thanks.

Digby


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message