BookmarkSubscribeRSS Feed
satyaimca
Calcite | Level 5

I have requirement to generate xml file by reading xsd using sas di studio. i have attached sample xsd. please help. these xsd schema have namespace and many reference to other xsd. please see the AccountModel xsd in the zip file.

2 REPLIES 2
AlanC
Barite | Level 11

Download SAS XML Mapper and use it. You need to create an SAS XML map to achieve what you want. Allocate a LIBNAME XML and then write to it using the map you created.

https://github.com/savian-net
satyaimca
Calcite | Level 5

https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-define-xsd-using-sas-di-studio-and-write-...

 

You had replied to my post above link that we can use xmlmapper for this requirement. I have to create an xml file which will contain the data and schema definition is xsd. So could you please provide any supporting document or steps by step approach to achieve it. I am new to SAS DI tool.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1923 views
  • 0 likes
  • 2 in conversation