cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hg...@cswebmail.com
Subject [SUMMARY] XPathDirectoryGenerator - need help {namespace handling}
Date Wed, 19 Mar 2003 10:01:34 GMT
Thanks Jeff, that was the solution !

Obviously the XPathDirectoryGenerator does not handle
tags with namespaces. These need to be replaced by
local-names as indicated by you !

Thanks 

Holger

On Wed, 19 Mar 2003, Jeff Turner wrote:

> 
> On Tue, Mar 18, 2003 at 11:27:27AM -0800,
> hgadm@cswebmail.com wrote:
> > Maybe I do not understand the
XPathDirectoryGenerator:
> > 
> > Also tried:
> > 
> > .... KNO\#/azkno:knowledgeobject/dc:title/text()
> > 
> > Same, tag content is not displayed !?
> 
> Probably because XPathDirectoryGenerator doesn't
> provide a way to
> register namespace-prefix mappings.  Instead, try:
> 
>
...#/*[local-name()='knowledgeobject']/*[local-name()='title']/text()
> 
> --Jeff
> 
> > Any help is appreciated !!
> > 
> > Holger
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org

___________________________________________________
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/





---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message