tags:

views:

48

answers:

1

I am using XCers DOM parser for parsing an XML file . However every time I get a #text node every time i try to access the element node . I have set setIncludeIgnorableWhitespace to false . Still no avail .

A: 

You probably need to use the normalize-space(text) Xpath function: http://www.w3.org/TR/xpath/#function-normalize-space

hendry