BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
Whenever I am receiving xml file have to validate that file in terms of hierarchy.
Please give me some idea how to do this.

Thanks,
Deepu.
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
As explained here:
http://support.sas.com/documentation/cdl/en/engxml/61740/HTML/default/a002591914.htm

The SAS XML libname engine does not validate an XML document. The XML Mapper however, given a valid document, will help you map that document from XML form to SAS dataset form (or vice versa).

If you want to validate your XML-file (assuming that you have already verified that it is well-formed), you might have to look to other 3rd party products, such as those mentioned in these articles.

http://www.w3schools.com/Dom/dom_validate.asp
http://support.microsoft.com/kb/307379
http://support.microsoft.com/kb/317463
http://www.oracle.com/technology/pub/articles/vohra_xmlschema.html

cynthia
deleted_user
Not applicable
Thanks Cynthia:-)
How can i write hierarchical XML file from SAS Datset.
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1379 views
  • 0 likes
  • 2 in conversation