RE: XmlSlurper, attributes and namespaces

2016-03-07 Thread Winnebeck, Jason
@groovy.apache.org Subject: Re: XmlSlurper, attributes and namespaces Yes, I think it is a bug. I thought we had a workaround using star, i.e. node.@'*:attributeName', much like node.'*:tagName' but the attribute version with star doesn't work either. On Sat, Mar 5

Re: XmlSlurper, attributes and namespaces

2016-03-06 Thread Paul King
>> >> -Original Message- >> From: Winnebeck, Jason [mailto:jason.winneb...@windstream.com] >> Sent: Tuesday, March 01, 2016 3:03 PM >> To: users@groovy.apache.org >> Subject: XmlSlurper, attributes and namespaces >> >> I've been struggling fo

Re: XmlSlurper, attributes and namespaces

2016-03-05 Thread Pascal Schumacher
tream.com] Sent: Tuesday, March 01, 2016 3:03 PM To: users@groovy.apache.org Subject: XmlSlurper, attributes and namespaces I've been struggling for a long time with XmlSlurper in how I can read attributes. Unfortunately, I have an XML document with namespaces. I wish I could ignore the n

RE: XmlSlurper, attributes and namespaces

2016-03-01 Thread Winnebeck, Jason
even seem to be used. This seems like a bug in GPathResult? Jason -Original Message- From: Winnebeck, Jason [mailto:jason.winneb...@windstream.com] Sent: Tuesday, March 01, 2016 3:03 PM To: users@groovy.apache.org Subject: XmlSlurper, attributes and namespaces I've been struggling

XmlSlurper, attributes and namespaces

2016-03-01 Thread Winnebeck, Jason
I've been struggling for a long time with XmlSlurper in how I can read attributes. Unfortunately, I have an XML document with namespaces. I wish I could ignore the namespaces, but while XmlSlurper no-arg constructor says it ignores namespaces, it does not. When using two-arg constructor to set