Example 3: Implicitly Published Event Containing a SAS Data Set, Text
File, and HTML File
In the following example, the published
package contains a SAS data set, an external text file, and an HTML
file. Because the published package is not archived, the sas-publish:packageUrl
attribute is not specified. The SAS data set is defined by using the
name/value specification of "quarter=third region=south quarterly".
The HTML file contains a body, a frame, the contents, a page, and
a companion file.
<?xml version="1.0" encoding="UTF-8"?>
<sas-event:Event xmlns:sas-event=
"http://support.sas.com/xml/namespace/services.events-1.1"
sas-event:name='SASPackage.ReportChannel'>
<sas-event:Header>
<sas-event:Version>1.0</sas-event:Version>
<sas-event:SentAt>26SEP2001:19:15:37
</sas-event:SentAt>
</sas-event:Header>
<sas-event:Body>
<sas-publish:Package version="1.0"
xmlns:sas-publish=
"http://support.sas.com/xml/
namespace/services.publish-1.1"
sas-publish:version="1.0"
sas-publish:Description="Sales Reporting Data"
sas-publish:Abstract="Data necessary to create and
manage the Sales reports."
sas-publish:Channel="SalesChannel">
<sas-publish:Entries>
<sas-publish:Entry sas-publish:type="dataset"
sas-publish:Description="Employee
information data set"
quarter="third" region="south"
quarterly="">
<sas-publish:Dataset
sas-publish:name="SalesData"/>
</sas-publish:Entry>
<sas-publish:Entry sas-publish:type="file"
sas-publish:description="Defects SAS job.">
sas-publish:File sas-publish:type="text"
sas-publish:name="defects.sas"
sas-publish:mimetype="application/sas"/>
</sas-publish:Entry
<sas-publish:Entry sas-publish:type="html"
sas-publish:description="ODS
generated HTML.">
<sas-publish:HTML sas-publish:type="body"
sas-publish:name="body.html"
sas-publish:url="body.html"/>
<sas-publish:HTML sas-publish:type="frame"
sas-publish:name="frame.html"
sas-publish:url="frame.html"/>
<sas-publish:HTML
sas-publish:type="contents"
sas-publish:name="contents.html"
sas-publish:url="contents.html"/>
<sas-publish:HTML sas-publish:type="page"
sas-publish:name="page.html"
sas-publish:url="page.html"/>
<sas-publish:Companion
sas-publish:name="graph.gif"
sas-publish:url="graph.gif"
sas-publish:mimetype="image/gif"/>
</sas-publish:Entry>
</sas-publish:Entries>
</sas-publish:Package>
</sas-event:Body>
</sas-event:Event>
Copyright © SAS Institute Inc. All rights reserved.