<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rendering define.xml in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/936284#M2709</link>
    <description>&lt;P&gt;One thing that I ran into is that PROC XSL does not work well, when your stylesheet imports other stylesheets. If I remember well, it had issues resolving relative paths that were used for including other stylesheets.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 20:25:40 GMT</pubDate>
    <dc:creator>lexjansen</dc:creator>
    <dc:date>2024-07-18T20:25:40Z</dc:date>
    <item>
      <title>rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815328#M2638</link>
      <description>&lt;P&gt;Hello all:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I am now reading the book "Implementing CDISC Using SAS" by Holland and&amp;nbsp;Shostak to learn CDISC implementation.&amp;nbsp;Chapter 2 showed an example of creating define.xml from excel spreadsheet in base SAS. The authors provided SAS code/output &amp;amp; stylesheet on the book site&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/en/books/authors/chris-holland.html" target="_blank"&gt;https://support.sas.com/en/books/authors/chris-holland.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample directory for chapter 2 includes define.xml and define2-0-0.xsl. However, the main output define.xml cannot be properly rendered. Microsoft edge and Chrome displayed an empty page. Firefox displayed contents in define.xml without the proper format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Y_0-1653612268723.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71808i13F966EB1DD54DC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Peter_Y_0-1653612268723.png" alt="Peter_Y_0-1653612268723.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Interestingly, it was properly shown in internet explorer, which retires soon.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Y_1-1653612950798.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71809i581D7BE2308507D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Peter_Y_1-1653612950798.png" alt="Peter_Y_1-1653612950798.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I suppose something in the define.xml is not supported by modern browser? Does anyone know what the problem is and how to fix it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This makes me worry about learning CDISC implementation in SAS with this book. Are there any other good (and more recent) references/resources?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 01:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815328#M2638</guid>
      <dc:creator>Peter_Y</dc:creator>
      <dc:date>2022-05-27T01:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815345#M2639</link>
      <description>&lt;P&gt;How about first showing the LOG of the code that&amp;nbsp; you submitted that created the output with all the notes and messages generated. Copy the text from the LOG and paste into a text box opened on the forum with the &amp;lt;/&amp;gt;. That way we have a chance of knowing what you did.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;XML not rendering in Excel can be a setting issue as I had to spend a moderate amount of time getting Excel to show XML as data after our "upgrade" to Office 365 as Excel did not want want to use XML files as data by default.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 09:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815345#M2639</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-05-27T09:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815396#M2640</link>
      <description>I got the same problem as yours . I think it is not problem from code of book, it is about browser Microsoft edge or Chrome themselves. &lt;BR /&gt;&lt;BR /&gt;The best way to create define.xml is using the software &amp;nbsp;Pinnacle 21 . It is totall free or You can buy SAS software to generate define.xml&lt;BR /&gt;&lt;A href="https://www.pinnacle21.com/downloads" target="_blank"&gt;https://www.pinnacle21.com/downloads&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And here is my data step code for define.xml&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Create-Define-xml-file-by-data-step/ta-p/720439" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Create-Define-xml-file-by-data-step/ta-p/720439&lt;/A&gt;</description>
      <pubDate>Fri, 27 May 2022 12:51:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815396#M2640</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-05-27T12:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815513#M2641</link>
      <description>It is not a problem with the XML. The fact that Chrome and Edge do not render the Define-XML file is because of security issues. No modern browser allows the rendition of XML by applying an XSL file within the browser. Internet Explorer was the only browser that still allowed it. But, as you mention, IE has long been abandoned by Microsoft, and soon will be end-of-life. You can use PROC XSL in SAS to create an HTML file from the XML and the stylesheet that can be opened by any browser. PROC XSL can be limited, so here is another solution to create HTML: &lt;A href="https://swhume.github.io/blog-2022-generate-html-from-xml.html" target="_blank"&gt;https://swhume.github.io/blog-2022-generate-html-from-xml.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2022 22:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/815513#M2641</guid>
      <dc:creator>lexjansen</dc:creator>
      <dc:date>2022-05-27T22:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/935982#M2708</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;PROC XSL can be limited"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you explain some details about the limitations?&amp;nbsp;What should we pay attention to if we want to use PROC XSL?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 03:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/935982#M2708</guid>
      <dc:creator>kevinkk</dc:creator>
      <dc:date>2024-07-17T03:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/936284#M2709</link>
      <description>&lt;P&gt;One thing that I ran into is that PROC XSL does not work well, when your stylesheet imports other stylesheets. If I remember well, it had issues resolving relative paths that were used for including other stylesheets.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 20:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/936284#M2709</guid>
      <dc:creator>lexjansen</dc:creator>
      <dc:date>2024-07-18T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/936303#M2710</link>
      <description>&lt;P&gt;Hi Lex,&lt;BR /&gt;Thanks for your explanation and will note this in daily work; Currently our project would merely use the official released stylesheet and it workd well, likes below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc xsl
	in="&amp;amp;define_sdtm_root.define_SDTM.xml"
	xsl="&amp;amp;define_sdtm_root.define2-1-0.xsl"
	out="&amp;amp;define_sdtm_root.define_SDTM.html";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I understand that in some cases, we may need to modify the stylesheet, but I'm not sure about the situation you mentioned, "stylesheet imports other stylesheets".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you referring including another stylesheet inside the current stylesheet? I don't quite understand why this is done. Could you introduce a bit about it, or are there any papers that introduce this work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 03:30:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/936303#M2710</guid>
      <dc:creator>kevinkk</dc:creator>
      <dc:date>2024-07-19T03:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/939012#M2712</link>
      <description>&lt;P&gt;When you want to create a modular design, it is quite common to import stylesheets (xsl:import). PROC XSL does not support that.&lt;/P&gt;
&lt;P&gt;An extended example of this is how the SAS Clinical Standards Toolkit implemented transformations:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/sassoftware/clinical-standards-toolkit/tree/main/standards/cstdefinexml21/source/xsl-repository/DEFINE-XML/2.1/import" target="_blank"&gt;https://github.com/sassoftware/clinical-standards-toolkit/tree/main/standards/cstdefinexml21/source/xsl-repository/DEFINE-XML/2.1/import&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 19:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/939012#M2712</guid>
      <dc:creator>lexjansen</dc:creator>
      <dc:date>2024-08-12T19:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: rendering define.xml</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/939038#M2713</link>
      <description>&lt;P&gt;Thank you Lex, it's truly enlightening, I will explore more details in this area.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 06:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/rendering-define-xml/m-p/939038#M2713</guid>
      <dc:creator>kevinkk</dc:creator>
      <dc:date>2024-08-13T06:09:31Z</dc:date>
    </item>
  </channel>
</rss>

