Quantcast
Channel: Regex find all XML values based on subvalue - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by kjhughes for Regex find all XML values based on subvalue

Regular expressions are wrong for parsing XML.Use XPath in XSLT or a scripting language or xmlstarlet...

View Article



Regex find all XML values based on subvalue

I have the following XML code:<quantity1 value="foo" name="bar"><subquantity duration="2"><parameter unit="meters" /></subquantity></quantity1>I want to export all names...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images