simple modeling problem

In the document below, I have two attributes of the m:attachments element named number and zipFilename that I want to represent somewhere in that element along with the rdf:Bag element that is the m:attachments element's contents. All three of my attempts are not kosher RDF, according to ARP. The comment in the document shows three possible replacements for the <m:attachments rdf:ID="i1"> start-tag that I tried. Any suggestions? Or doe the rdf:Bag element have to be alone in there?

thanks,

Bob DuCharme          www.snee.com/bob           <bob@  
snee.com>  "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii
(bobdc e-mail address used only for mailing lists)


<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:m="http://www.snee.com/ns/msgs">

  <m:msg rdf:ID="i0">
    <m:Subject>Dinner tonight</m:Subject>
    <m:Sender>Nanker Phelge</m:Sender>
    <m:attachments rdf:ID="i1">
<!--

I have a number and a zipFilename attribute to describe the 
attachments element. Where do I put them? 

Replacing the m:attachments start-tag above with any of the following
is no good, according to ARP:

    <m:attachments rdf:ID="i1" m:number="2" m:zipFilename="i0.zip">

    <m:attachments rdf:ID="i1">
      <m:number>2</m:number>
      <m:zipFilename>i0.zip</m:zipFilename>

    <m:attachments rdf:ID="i1">
      <rdf:Description>
        <m:number>2</m:number>
        <m:zipFilename>i0.zip</m:zipFilename>
      </rdf:Description> 

-->
      <rdf:Bag rdf:ID="i2">
        <m:attachment>data\sample1.txt</m:attachment>
        <m:attachment>data\sample2.txt</m:attachment>
      </rdf:Bag> 

    </m:attachments>
</m:msg>
</rdf:RDF>

Received on Sunday, 20 October 2002 13:43:53 UTC