Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: cristi.boizasThanks guys, I initially solved this using shell script and adding a new tag on the lowest level with the file name.
Since you seem to know you way well with parsing XML files with the BRE , I would ask you 2 more questions:
1. When I have a tag which contains only null values in all the file e.g <Country><Country> , the XML data node doesn't recognize this tag in the structure output of it . Any way around this ( this is also currently solved by me adding by shell script in a temp file "@NULL" where tags contain empty data, but I would like to do it using the functionality of the BRE application)?
2. The XML files I have to work can have null values for some tags represented like this <Country />, again the XML Data node does not recognize this null value. Any solution for this?
Thanks .
Cristi.