title: XML Code Analysis
body: <p>I had several xml files wich are source code for flow implemented on an ETL (Informatica).</p>
  
  <p>I need to build a solution to analyse thoses XML and generate report about it.
  The goal is to check if the home made development norms had been respected.</p>
  
  <p>I don't care about XML validation in the DTD or XSD matter (by the way, the XML files are valid and could be parsed), but I need to build several rules like :</p>
  
  <p>-This node need to have this attribute to false</p>
  
  <p>-If the node attribute "A" is "blablabla", the node "B" have to been set to the value "X"</p>
  
  <p>-etc...</p>
  
  <p>I think XSLT or XQuery could be a good solution, with a report as output, but does anyone know if there is existing code analysis tool (open source or freeware) able to check XML with home made rules?</p>