Quantcast
Channel: Regex find all XML values based on subvalue - Stack Overflow
Browsing all 2 articles
Browse latest 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 all 2 articles
Browse latest View live




Latest Images