Example 2: Implicitly Published Event Containing an External File and a Reference

In the following example, the published package contains an external file and a reference. Because the package is published to a WebDAV server, the sas-publish:packageUrl attribute is specified. This attribute is a URL to an archived package. The package was published with a name/value specification of "report=revenue department=research".
<?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.AirlineChannel'>
   <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
         xmlns:sas-publish=
         "http://support.sas.com/xml/
            namespace/services.publish-1.1"
         sas-publish:version="1.0"
         sas-publish:description="Revenue Info"
         sas-publish:channel="Revenue Channel"
         sas-publish:packageUrl=
            "http://alphaliteAirways.com/
               revenue/reports/2001/quarter3"
         report="revenue"
         department="research">
         <sas-publish:Entries>
            <sas-publish:Entry sas-publish:type="file"
               sas-publish:description="Revenue graph">
               <sas-publish:File
                  sas-publish:type="binary"
                  sas-publish:name="revenue.gif"
                  sas-publish:mimetype="image/gif" />
            </sas-publish:Entry>
            <sas-publish:Entry sas-publish:type="reference"
               sas-publish:description="Revenue details.">
               <sas-publish:Reference sas-publish:type="html"
               sas-publish:reference=
               "http://www.alphaliteAirways.com/revenue.html" />
            </sas-publish:Entry>
         </sas-publish:Entries>
      </sas-publish:Package>
   </sas-event:Body>
</sas-event:Event>