groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenton Garner <kenton.gar...@issinc.com>
Subject Can anyone comment on this stackoverflow posting that indicates XmlSlurper is actually namespace aware by default
Date Tue, 05 Apr 2016 18:15:06 GMT
http://stackoverflow.com/questions/33418826/are-xmlparser-and-xmlslurper-namespace-aware-by-default#

This has been my experience as well, but perhaps I am confused.

I would like to parse an XML file and reference nodes without specifying the namespace prefix,
this only works if I set the
XmlSlurper namespace aware parameter to "true" which seems backwards to me.

-garneke



Mime
View raw message