DATA Step, Macro, Functions and more

How to create an XML file with a specified schema XSD file

Reply
Super User
Posts: 17,750

How to create an XML file with a specified schema XSD file

I have a file that I get that I need to generate an XML file for.

I have the table I need to provide as a SAS dataset and I have the XSD file that specifies the schema.

Is there a straightforward way to create my XML file?

Also, if there's an easy way to do this in Excel or Access I'd be happy to try that, The file isn't large, but too large to manually generate the XML file.

Respected Advisor
Posts: 4,641

Re: How to create an XML file with a specified schema XSD file

I have never done this, but seems to be doable with the XML engine described here:

SAS(R) 9.3 XML LIBNAME Engine: User's Guide, Second Edition

HTH

PG

PG
Ask a Question
Discussion stats
  • 1 reply
  • 331 views
  • 0 likes
  • 2 in conversation