Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an XSD which validate any given xml file and list the errors(giving line number and position).
How to resolve these errors pragmatically and update the tags

eg: The schema validate

tag should not have

as his child

<p>This is an <div>invalid </div> file</p>

it gives error in line:1 and position 16(div)

the resolved file should be

<div>This is an <div>invalid </div> file</div>

Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900