I have a XML file in SAS DI, and I want to run the same file to create a map and simultaneously change the <P_OFF> 0 </P_OFF> to <P_OFF> 1000 </P_OFF> and respectively till 200,000.
The XML Writer transformation does not have the ability to transform data as part of the transformation itself. You will need to read the XML file in through a DI Studio job (XML libname engine), write some transformation code to change the values, then use the XML Table Writer to output the XML file.
More information about the XML Writer transformation can be found here.
Ron
SAS Innovate 2025: Register Now
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9. Sign up by Dec. 31 to get the 2024 rate of just $495. Register now!
How to connect to databases in SAS Viya
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.