-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can we use SAS xml map file output the define.xml? #4
Comments
I have not been successful doing output. I think it requires a 1:1 relationship between (one) dataset and XML file. This may be a flaw in the XMLMAP technology. Please share if you are successful |
I wouldn't so much call it a flaw, but a limitation in the XMLMAP technology. What is supported is to export one SAS dataset to XML using an updated XMLMAP to an XML file. Indeed a 1:1 relationship. . You have to add an OUTPUT element. See: https://documentation.sas.com/doc/en/vdmmlcdc/1.0/engxml/p030dni55gms3qn1xxc7xxpzn06p.htm |
@lexjansen, I remember I tried once to use XLST for tasks but somehow failed. How to automatically use XLST to "render" a define.xml to a CSV file for example? Or how to "render" a flat XML file to create a new XML file with a different format? Do you have an example to share? |
By using a different output method (text) XSLT just creates text. For examples of creating text see: <xsl:stylesheet xmlns="http://www.cdisc.org/ns/odm/v1.3" <xsl:strip-space elements="*" /> <xsl:template match="/">
</xsl:template> |
This is another example: |
Input is easy, how about output define.xml?
The text was updated successfully, but these errors were encountered: