View Single Post
  #1 (permalink)  
Old January 11th, 2006, 03:29 PM
saban saban is offline
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default validate start and end tags

I have a question about validating XML tags in word documents

How to check if every start tag has it's end tag (<Amend> </Amend> and so on)

for instance:

<Amend>bla bla bla <NumAm>1</NumAM>
bla bla bla </Amend>

<Amend>bla bla bla <NumAm>1</NumAM>
bla bla bla </Amen

There are many tags in document how to check whether some of them are missing or damaged, and to show me where is missing or is damaged