How To Check Validation Of XML Doc In .NET - check if u'r XML doc is well formed..

free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General > Misc. Programming Languages

How To Check Validation Of XML Doc In .NET - check if u'r XML doc is well formed..

milky
VS.NET provides a number of tools to work on XML documents. One of them enables you to check if a given XML document is well formed. While on the XML view of an XML document, you may useXML>>Validate XML Data of the main menu to see if the document is well formed. The system displays its findings in the bottom-left corner of the status bar. Similarly, you can use the Schema Validation tool to check if your schema is well formed, too. While on the XML view of the schema, use the Schema>>Validate Schema of the main menu to perform this task.

However, none of the above tests guarantee that your XML data is alid according to the rules specified in the schema. To accomplish this task, you will need to link your XML document to a particular schema frst. Then you can test the validity of the XML document. To assign a chema to an XML document, perform the following steps:

1. Display the XML document in XML view (in the XML Designer).

2. Display its Property sheet. (It will be captioned DOCUMENT.)

3. Open the drop-down list box at the right-hand side of the targetSchema, and select the appropriate schema.

4. Now, go ahead and validate the document using the XML>>Validate XML Data of the main menu.

By the way, there are many other third-party software packages that can also test if an XML document is well formed, and if it is valid (against a given schema). In this context, we have found the XML Authority (by TIBCO) and XML Writer (by Wattle Software) to be very good.

 

 

 


Reply

hazeshow
Microsoft offers an own little tool for validating XML:
"Internet Explorer Tools for Validating XML and Viewing XSLT Output"
Download and information HERE

All it does is adding two entries in Internet Explorer right-click dropdown-menu. The download is only 218 KB in size and consists of four files: msxmlval.htm, msxmlval.inf, msxmlvw.htm and msxmlvw.inf. After installing you will find "Validate XML" and "View XSL Output" commands added to your right-click menu. So one click and you can see whether you have valid XML or you can watch the XSL output. Fast and easy, try it out.

Of course this requires Internet Explorer I guess. rolleyes.gif

GreetingZ

Reply

milky
hei hazeshow .. much thanks to complete this topic.. I was thinking that I missed something in it..

once again thanks.. ye I have checked it and it worked good,,, its the easiest..

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. check if the xmldocument is well formed in .net - 80.95 hr back. (1)
  2. "xml writer" "tool check " - 330.82 hr back. (1)
Similar Topics

Keywords : validation xml doc net xml doc formed


    Looking for check, validation, xml, doc, net, check, xml, doc, formed

Searching Video's for check, validation, xml, doc, net, check, xml, doc, formed
advertisement




How To Check Validation Of XML Doc In .NET - check if u'r XML doc is well formed..



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE