Date: Thu, 7 May 2009 23:40:02 -0700
Reply-To: John <jparkes@RAC.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: John <jparkes@RAC.CO.UK>
Subject: Re: XML Libname and schema
Content-Type: text/plain; charset=ISO-8859-1
On May 7, 2:19 pm, 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 anXMLdocument
> > using anXMLschema (XSD) file (with value restrictions etc).
> > I've looked through thexmllibname documentation and can only find
> > references to exportingXMLdocs whilst exporting a schema file, not
> > actually using the schema in the exported document.
> > I'm not sure if I've misunderstood howXMLdocuments 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?
Yes. I need to produce an XML document that conforms to a supplied XSD
in terms of formatting etc. Is there a way to do this in SAS at all?
The output has lots of fields and I dont want to do this manually. If
I cant do it in SAS, is there a free, idiot proof way of doing it?
Cheers for your help,