Hello
I'm using VB.net to validate then read an xml file.
I need to implement a parser class to catch an exception of missing tags and then inserts the required tag in its place.
I need to implement a parser method just like the one Firefox provides when it catches a missing tag. Take the following result from FireFox as a reference.
"XML Parsing Error: mismatched tag. Expected: </closing_tag>.
Location: file:FILE_PATH/File.xml
Line Number x, Column 3:
</site>
--^"
Please I'm newbie how can catch such exception in vb.net
I'm using VB.net to validate then read an xml file.
I need to implement a parser class to catch an exception of missing tags and then inserts the required tag in its place.
I need to implement a parser method just like the one Firefox provides when it catches a missing tag. Take the following result from FireFox as a reference.
"XML Parsing Error: mismatched tag. Expected: </closing_tag>.
Location: file:FILE_PATH/File.xml
Line Number x, Column 3:
</site>
--^"
Please I'm newbie how can catch such exception in vb.net