LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 14 May 2001 17:49:56 -0400
Reply-To:   Michael Palmer <mcpalmer@zbi.net>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Michael Palmer <mcpalmer@ZBI.NET>
Organization:   Zurich Biostatistics, Inc.
Subject:   Re: Microsoft Access data into sas data:
Comments:   To: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Comments:   cc: TKunselman@STAN.CSUSTAN.EDU
Content-Type:   text/plain; charset="iso-8859-1"

> SAS is picky about its XML formats. You'd probably have to write some XSL to transform SAS XML to ADO XML and vice-versa. You can use PROC TEMPLATE in 8.2 to create XML in pretty much whatever format you want, but it's not documented yet (any week now, they say). Reading XML is more difficult - there's an experimental feature called XMLMAP that will let you do it, but it's not documented yet either. >

The word XML in this post caught my eye, until now I haven't been following it, so my apologies if I state something that's already been said.

I've been part of an ongoing effort in CDISC (a pharma company consortium) to develop an XML data model for clinical research data. For the past few weeks, several of us have been working independently to import and export CDISC XML data to clinical databases, and several of us have worked on getting XML into and out of SAS as part that. One solution is similar to Jack Hamilton's suggestion of ODS and XSL. Another uses XSL to write SAS programs. A third, mine, is 100% SAS and works by importing the XML into a DATA-step and indexing it in a way that's natural for SAS programmers to work with. Export of XML works also.

As far as SAS 8.2 and beyond and XML, my impression from a discussion led by Paul Kent of base SAS R&D at SUGI a couple of weeks age, was that near-term experimental features would enable the import of arbitrary but simple XML that closely mimics conventional row and column tables. Further out, they were seriously working on ways to *import* more hierarchical XML. I left with the impression that the SAS community would have to develop its own tools for working with XML in SAS, especially if we want non-experimental tools in the next couple of years, as we're doing in CDISC.

Some documentation for the CDISC effort will be posted at www.CDISC.org some time in the near future as a white paper. I'm presenting results from my own work at PharmaSUG in Boston next week and will be happy to email a copy of that presentation to anyone interested.

Finally, tools for working with XML in SAS, the import and export macros that I've developed to work with CDISC XML, are available from me as an alpha release, for use and comment from the SAS community. Send me an email and I'll send back the package.

Regards, Michael

Michael Palmer Zurich Biostatistics, Inc. www.zbi.net


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