|
 |
XML General XML discussions. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

February 8th, 2006, 05:39 AM
|
Authorized User
|
|
Join Date: Jan 2006
Location: , , .
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
validate tags in word document
how could I validate that tags in word document are missing or damged
(if all start tags have matching pair of end tags)
sample:
<Amend> blblbllblblblb <Article> G </Article>
<NumAm> 123 </NumAm>
kljkjdkjkskskdflskdjskfjksdjfksdjf
</Amend>
<Amend> blblbllblblblb <Article> G </Article>
<NumAm> 123 </NumAm>
kljkjdkjkskskdflskdjskfjksdjfksdjf
</mend>
I would like to check if every start tag has its end tag and if not higlight the tags which are missing start or end tag, and also show me where tag is missing (If <Amend> is missing </Amend> or </Amend> is missing <Amend> -show me where is this error in document)
|

February 8th, 2006, 06:07 AM
|
 |
Wrox Author
Points: 18,487, Level: 59 |
|
|
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
Any XML parser will give you this information. For example, just load the document into an XML editor like Stylus Studio.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|

February 8th, 2006, 06:15 AM
|
Authorized User
|
|
Join Date: Jan 2006
Location: , , .
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can you plizz tell me where to get one free parser
and if I understand you right this Stylus studio is a parser or or just XML editor
sorry for my stupidity but I am new to all this
thnx
|

February 8th, 2006, 09:24 AM
|
 |
Wrox Author
Points: 18,487, Level: 59 |
|
|
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
|
|
Free XML parsers are readily available for example as part of the Java or .NET platforms. There are also plenty of good XML editors, which will give you access to an XML parser. Products like Stylus Studio, XML Spy, and Oxygen do a lot more than just editing and parsing. I suggest you search around to find the tools that meet your need - the information is readily accessible.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |