LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 7 May 2009 08:32:51 -0700
Reply-To:   "J. Carl Zeigler" <jcz@JCZEIGLER.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "J. Carl Zeigler" <jcz@JCZEIGLER.COM>
Organization:   http://groups.google.com
Subject:   Re: XML Libname and schema
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

On May 7, 9:19 am, Savian <savian....@gmail.com> wrote: > On May 7, 5:17 am, John <jpar...@rac.co.uk> wrote: > > > Hi, > > > I have a sas dataset, and I need to export this to an XML document > > using an XML schema (XSD) file (with value restrictions etc). > > > I've looked through the xml libname documentation and can only find > > references to exporting XML docs whilst exporting a schema file, not > > actually using the schema in the exported document. > > > I'm not sure if I've misunderstood how XML documents work as I've > > never used them before...do I have the wrong end of the stick?? > > > Any pointers would be greatly appreciated! > > > John > > I am unsure what you want to do here John. Are you saying you want to > restrict the exported values using an XSD? > > Alanhttp://www.savian.net

You may have the wrong end of the stick.

You use the exported XML schema file to describe the contents of the exported data set.

It seems from your question that you want to know that the XML file conforms to the description in an existing schema file.

You can validate the XML output against that existing schema, using XML tools, or just know that your code works and don't bother creating an XML schema in your export.

Also, XMLmap may help you - http://support.sas.com/documentation/cdl/en/engxml/61740/HTML/default/a002485024.htm

--jcz


Back to: Top of message | Previous page | Main SAS-L page