[xquery-talk] text node path

Philippe Michiels philippe.michiels at gmail.com
Sun Mar 12 17:44:06 PST 2006


$input/descendant::text()/string-join(ancestor::*/name(), "/")

On Sunday 12 March 2006 17:32, fatma helmy wrote:
> can i get the path of each text node in my xml file
> example
> <book>
> <author> joe </author>
>
> </book>
>
> the text node is joe can i get all text nodes with
> their full path using one command only?
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> talk at xquery.com
> http://xquery.com/mailman/listinfo/talk


More information about the talk mailing list