def html="""
<html>
<head>
</head>
<body>
<h1>aaa</h1>
</body>
"""

I would like to get text that is _only_ related to h1. However, if I use
XmlSlurper on the result and do:

XmlSlurper.depthFirst().find { it.name()=="BODY" }.each { println
it.text() }

I still get "AAA" even though it is a _direct_ descendant of H1.

Thank you!
Misha


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to