Implicitly generated
events (SASPackage events) are published by using well-formed XML
documents whose details are generated as a result of the package publishing
process.
In the following example,
the published package contains each entry type: SAS catalog, SAS data
set, external file, MDDB, HTML file, file reference, SQL view, viewer,
and nested package.
<?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.ChannelName">
<sas-event:Header>
<sas-event:Version>1.0</sas-event:Version>
<sas-event:SentAt>timestamp</sas-event:SentAt>
</sas-event:Header>
<sas-event:Body>
<sas-publish:Package
xmlns:sas-publish=
"http://support.sas.com/xml/namespace/services.publish-1.1"
xmlns:userSpecPkgNamespace="userSpecPkgNamespaceValue"
sas-publish:version="1.0"
sas-publish:packageUrl="URL to saved package"
sas-publish:description="package description"
sas-publish:abstract="package abstract"
sas-publish:channel="channel on which the package was
published"
userSpecName="value">
<sas-publish:Entries>
<sas-publish:Entry sas-publish:type="catalog"
sas-publish:description="description"
userSpecName="value">
<sas-publish:Catalog
sas-publish:name="member name"/>
</sas-publish:Entry>
<sas-publish:Entry sas-publish:type="dataset"
sas-publish:description="description"
userSpecName="value">
<sas-publish:Dataset
sas-publish:name="member name"/>
</sas-publish:Entry>
<sas-publish:Entry sas-publish:type="file"
sas-publish:description="description"
userSpecName="value">
<sas-publish:File
sas-publish:type="text or binary"
sas-publish:name="file name"
sas-publish:mimetype="MIME type"/>
</sas-publish:Entry>
<sas-publish:Entry sas-publish:type="html"
sas-publish:description="description"
userSpecName="value">
<sas-publish:HTML
sas-publish:type="body, frame, contents or
page"
sas-publish:name="file name"
sas-publish:url="URL"/>
<sas-publish:Companion
sas-publish:name="file name"
sas-publish:url="URL"
sas-publish:mimetype="MIME
type"/>
</sas-publish:Entry>
<sas-publish:Entry sas-publish:type="mddb"
sas-publish:description="description"
userSpecName="value">
<sas-publish:MDDB
sas-publish:name="member name"/>
</sas-publish:Entry>
<sas-publish:Entry
sas-publish:type="reference"
sas-publish:description="description"
userSpecName="value">
<sas-publish:Reference
sas-publish:type="html or url"
sas-publish:reference="reference"/>
</sas-publish:Entry>
<sas-publish:Entry
sas-publish:type="sqlview"
sas-publish:description="description"
userSpecName="value">
<sas-publish:SQLview
sas-publish:name="member name"/>
</sas-publish:Entry>
<sas-publish:Entry
sas-publish:type="viewer"
sas-publish:description="description"
userSpecName="value">
<sas-publish:Viewer
sas-publish:type="text or html"
sas-publish:name="file name"
sas-publish:mimetype="MIME type"/>
</sas-publish:Entry>
<sas-publish:Entry
sas-publish:type="nestedpackage"
sas-publish:description="description"
userSpecName="value">
<sas-publish:Package
xmlns:userSpecPackageNamespace=
"userSpecPackageNamespaceValue"
sas-publish:description="package
description"
sas-publish:abstract="package abstract"
userSpecName="value" >
<sas-publish:Entries>
<sas-publish:Entry
sas-publish:type="entry type"
sas-publish:description="description"
userSpecName="value">
</sas-publish:Entry>
.
.
additional Entry elements for this nested
package
.
.
</sas-publish:Entries>
</sas-publish:Package>
</sas-publish:Entry>
</sas-publish:Entries/>
</sas-publish:Package>
</sas-event:Body>
</sas-event:Event>