Hi,
I need to converting define.xml to pdf file
Could any one help me please?
Thanks,
Sam
Hi:
It depends on the tools you're using to create define.xml whether you can automatically create define.pdf. Are you using the SAS Clinical Standards Toolkit? Are you using SAS Drug Development? Are you using SAS Clinical DI? Are you using a 3rd party tool? Are you using an in-house written transformation? There is a separate forum for Health and Life Sciences related questions. This would be better posted there. Or, depending on the method you're using, you might want to work with Tech Support.
cynthia
Thanks Cynthia. I was given the define.xml directly (delivered from vendor, so I am not sure what they have used create the define.xml files). Could you please let me know about other forum for Health and Life Sciences related questions.
Thanks,
Sam.
First using libname + xml engine transfer it into dataset then use ODS transfer it into PDF ?
Ksharp
Hi Ksharp,
Thank you very much for the reponse. Could you please let me know if the following code is fine to convert it into SAS dataset.
FILENAME DEFINE "C:\Projects\CDISC\Define.xml\define.xml";
FILENAME SXLEMAP "C:\Projects\CDISC\Define.xml\DefineXML.map";
LIBNAME DEFINE XML XMLMAP=SXLEMAP access=READONLY;
PROC COPY IN=define OUT=outlib;
RUN;
regards,
Sam
Sorry. I have little experience about transforming XML file . Plz refer to SAS documentation -- xml .
Hi,
I have developed small tool convert Define.xml to pdf format.
https://www.youtube.com/watch?v=moOK7Rn2cyQ
It works only for SDTM define.
Hey!,
I tried using the solution provided in the paper. However I am getting an error which says ''Could not find or load main class org.apache.fop.cli.Main"
Can you please help?
You could use PROC XSL to convert define.xml into HTML .
https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815328
https://swhume.github.io/blog-2022-generate-html-from-xml.html
After that Open that HTML by Chrome/IE browser and Save it as PDF .
Check attachment.
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!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.