mercredi 25 novembre 2015

RegEx to normalize XML syntax

I have an XML-code where some tags generate xml parse errors (Error #1090). The problem is in attributes that need to be quoted:

<div class=treeview>

Help me please to write a regular expression to make them as following:

<div class="treeview">

Aucun commentaire:

Enregistrer un commentaire