Help using Base SAS procedures

Validate XML file

Reply
N/A
Posts: 0

Validate XML file

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.
SAS Super FREQ
Posts: 8,868

Re: Validate XML file

Posted in reply to deleted_user
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
N/A
Posts: 0

Re: Validate XML file

Posted in reply to Cynthia_sas
Thanks Cynthia:-)
How can i write hierarchical XML file from SAS Datset.
Ask a Question
Discussion stats
  • 2 replies
  • 122 views
  • 0 likes
  • 2 in conversation