added 'attachment' element example.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 22 May 2006 15:50:38 +0000 (15:50 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 22 May 2006 15:50:38 +0000 (15:50 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@222 be28352e-c001-0410-b1a7-c7978e42abec

schemas/document.xml

index 860934a..7113ae1 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <VamsasDocument xmlns="http://www.vamsas.ac.uk/vamsasDocument"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xsi:schemaLocation="http://www.vamsas.ac.uk/vamsasDocument file:/homes/jimp/prj/new-eclipse/VamsasClient/schemas/vamsasDocument.xsd">
+     xsi:schemaLocation="http://www.vamsas.ac.uk/vamsasDocument file:vamsasDocument.xsd">
     <Version>alpha</Version>
     <LockFile>some kind of resolvable session reference.</LockFile>
     <Provenance xmlns="http://www.vamsas.org">
@@ -14,7 +14,7 @@
     </Provenance>
     <VAMSAS xmlns="http://www.vamsas.org"></VAMSAS>
     <VAMSAS xmlns="http://www.vamsas.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vamsas.org
-        http://www.vamsas.ac.uk/build/VamsasClient/schemas/vamsas.xsd">
+        file:vamsas.xsd">
         <DataSet>
             <Sequence start="1" end="167" dictionary="vamsas:aa" id="a1127235554296">
                 <sequence>KTAIITGGSRGIGKSIAIKLGKLGASIVLNYRNNTDALKNTIRELEDLNINVIAVQGDISNYKECEKIIKAALDKFNGIDILVNNAGITADNLILRMKEEEFDKVIETNLKGTFNCVKHCIPMIKRRYGKIINISSVVGVAGNVGQCNYAAAKAGVIGFTKSLAKEL</sequence>
         <data>somedata</data>
         <Instance urn="hmm://myInstancetype"><dataReference>some reference</dataReference></Instance>
     </ApplicationData>
-    
+    <Attachment xmlns="http://www.vamsas.org" type="HMMER2/HMM" objectref="a1127235554304" compressed="false">
+        <data></data>
+    </Attachment>
 </VamsasDocument>