Ahh, so if the var refers to the root that would explain why specifying the 
root never returns anything. Thanks.

On Wednesday, June 5, 2013 11:54:49 AM UTC-4, Stefan Kamphausen wrote:
>
> AFAIK your var myxml already refers to the root node of your XML 
> document.  
>
> So your first example searches for a tag called "level1" inside the root 
> tag (which is "level1").  Obviously, there is no such node and the text is 
> empty.
>
> Your second example extracts a textual representation of the child nodes 
> (plural) of tag "level2".
>
> The third example references the tag "level3a" inside the tag "level2" and 
> extracts the text, which contains no more child nodes but just the text.
>
> Hope that helps
> Stefan
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to