<?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: ODS Markup destination and Frame= option in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2505#M1081</link>
    <description>I think this whole ODS "architecture" is pretty messed up. For one thing, that FRAME= option can't be all for the various tagsets under the MARKUP destination! For another, to use it to refer to a DTD file for an XML tagset is simply ridiculous.&lt;BR /&gt;
&lt;BR /&gt;
If I may suggest, use the FRAME= option exclusively for HTML output. Use another option name for a DTD output.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Audi</description>
    <pubDate>Fri, 16 Mar 2007 04:14:49 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-03-16T04:14:49Z</dc:date>
    <item>
      <title>ODS Markup destination and Frame= option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2503#M1079</link>
      <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I'm a little confused as to the proper file type (extension) to use when using the FRAME= option in combination with non-HTML tagsets like CSV and XML. For example:&lt;BR /&gt;
&lt;BR /&gt;
ODS destination: Markup&lt;BR /&gt;
Markup tagset: tagset = CSV&lt;BR /&gt;
FRAME= option: frame = myframe.htm? or myframe.csv?&lt;BR /&gt;
CONTENTS= option: contents = mycontents.htm? or mycontents.csv?&lt;BR /&gt;
PAGE= option: page = mypage.htm? or page = mypage.csv?&lt;BR /&gt;
&lt;BR /&gt;
ODS destination: Markup&lt;BR /&gt;
Markup tagset: tagset = XML&lt;BR /&gt;
FRAME= option: frame = myframe.htm? or myframe.xml?&lt;BR /&gt;
CONTENTS= option: contents = mycontents.htm? or mycontents.xml?&lt;BR /&gt;
PAGE= option: page = mypage.htm? or page = mypage.xml?&lt;BR /&gt;
&lt;BR /&gt;
I thought the frame= option always implies an HTML output. However, the documentation says the output could be an XML file containing a DTD (Document Type Definition)! Since setting the FRAME= option also requires setting the CONTENTS= option, the PAGE= option, or both, does it mean SAS is generating a "contents.xml" file for the contents and "page.xml" for the page output?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your clarification.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Audi</description>
      <pubDate>Thu, 15 Mar 2007 19:03:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2503#M1079</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-15T19:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Markup destination and Frame= option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2504#M1080</link>
      <description>One correction -- using a FRAME= option for an XML tagset generates a DTD (*.dtd) output, not a *.xml file as I incorrectly stated.&lt;BR /&gt;
&lt;BR /&gt;
I saw a SAS sample for a FRAME= option and yet didn't use the CONTENTS= option and/or the PAGE= option -- contrary to what the documentation says.&lt;BR /&gt;
&lt;BR /&gt;
Sample:&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/getDoc/en/odsug.hlp/a002217090.htm#a002588764" target="_blank"&gt;http://support.sas.com/onlinedoc/913/getDoc/en/odsug.hlp/a002217090.htm#a002588764&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Documentation:&lt;BR /&gt;
"If you specify the FRAME= option, then you must also specify the CONTENTS= option, the PAGE= option, or both."&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/getDoc/en/odsug.hlp/a002217090.htm#a003076973" target="_blank"&gt;http://support.sas.com/onlinedoc/913/getDoc/en/odsug.hlp/a002217090.htm#a003076973&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Still confused.&lt;BR /&gt;
&lt;BR /&gt;
Audi</description>
      <pubDate>Fri, 16 Mar 2007 01:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2504#M1080</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-16T01:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Markup destination and Frame= option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2505#M1081</link>
      <description>I think this whole ODS "architecture" is pretty messed up. For one thing, that FRAME= option can't be all for the various tagsets under the MARKUP destination! For another, to use it to refer to a DTD file for an XML tagset is simply ridiculous.&lt;BR /&gt;
&lt;BR /&gt;
If I may suggest, use the FRAME= option exclusively for HTML output. Use another option name for a DTD output.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Audi</description>
      <pubDate>Fri, 16 Mar 2007 04:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2505#M1081</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-16T04:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Markup destination and Frame= option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2506#M1082</link>
      <description>Audi:&lt;BR /&gt;
I understand your frustration, but if you consider that the FRAME= file adds or imposes structure on the HTML frame navigation pages, then it makes sense -- to me at least -- that FRAME= with XML output creates a DTD -- which is one way of imposing or defining the structure (allowed tags) for an XML file.&lt;BR /&gt;
    &lt;BR /&gt;
To extrapolate further. There is no additional structure that can be added to a CSV file by a FRAME= file. In fact, if you do this: [pre]&lt;BR /&gt;
ods csv file='main.csv'&lt;BR /&gt;
        contents='some_c.csv'&lt;BR /&gt;
        frame='some_f.csv';&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Then MAIN.CSV has the csv output and SOME_C.CSV and SOME_F.CSV are created, but they are empty files.&lt;BR /&gt;
  &lt;BR /&gt;
FRAME= was originally introduced in SAS 7 for creating the standard set of files needed for HTML frame navigation. When XML came down the road, FRAME= got reused as a valid option for XML markup.&lt;BR /&gt;
  &lt;BR /&gt;
If you use similar code for LaTeX markup, then [pre]&lt;BR /&gt;
ods latex file='lmain.txt'&lt;BR /&gt;
        contents='lsome_c.txt'&lt;BR /&gt;
        frame='lsome_f.txt';&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Then LMAIN.TXT has LaTeX output and LSOME_C.TXT has LaTeX output for contents, but LSOME_F.TXT is empty -- which means that there is no further structure that can be supplied by ODS MARKUP for the LaTeX set of output.&lt;BR /&gt;
  &lt;BR /&gt;
Just a few other thoughts on the subject,&lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 16 Mar 2007 04:59:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2506#M1082</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-03-16T04:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Markup destination and Frame= option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2507#M1083</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Many thanks for the clarification! Now I can see things much clearer.&lt;BR /&gt;
&lt;BR /&gt;
SAS needs to fix the documentation for the FRAME= option ASAP, especially on the RESTRICTION portion which states that if you use the FRAME= option, you also need to set the CONTENTS= option, the PAGE= option, or both. Specifying this restriction only to generate blank documents for them doesn't make sense.&lt;BR /&gt;
&lt;BR /&gt;
A FRAME implies a "structure" while a DTD "defines a structure" -- two different animals. The latter is a tool you use to validate XML documents. From my point of view as a user, SAS' decision to "reuse" the FRAME= option for its XML tagset is a poor architectural judgement. &lt;BR /&gt;
&lt;BR /&gt;
Thanks for your very informative response -- you're the best!&lt;BR /&gt;
&lt;BR /&gt;
Regards, Audi</description>
      <pubDate>Fri, 16 Mar 2007 13:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Markup-destination-and-Frame-option/m-p/2507#M1083</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-16T13:38:17Z</dc:date>
    </item>
  </channel>
</rss>

