Click here to Skip to main content
13,357,552 members (28,190 online)
Rate this:
Please Sign up or sign in to vote.
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 12-Nov-12 0:14am

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100