Hi folks,
I have an XML document, but it is not very well formatted: a large number of the node attributes are not enclosed in quotes. e.g.
Is there a neat RE that I can run that will find all attributes that don't have a quote round their value and insert them?
Thanks for your assistance!!
I have an XML document, but it is not very well formatted: a large number of the node attributes are not enclosed in quotes. e.g.
Code: Select all
<Node attr1=hello attr2=goodbye>node text here</Node>
Thanks for your assistance!!