Skip to topic | Skip to bottom
Home
Stac
Stac.StAcDataStorageModelr1.1 - 20 Nov 2004 - 17:51 - TWikiGuesttopic end

Start of topic | Skip to actions

intro

This is the XML implementation for StAc storage.

Xml files names are integers, so there are 1.xml, 2.xml etc files in two directories: projects and users. Llist of all projects is stored in a file called _projects.xml, in project directory.

user

<?xml version="1.0"?>
<!-- this is a DATA file for John Jones -->
<user>
  <first_name>John</first_name>
  <last_name>Jones</last_name>
  <id>1</id>
  <city>London/Hackney</city>
  <phone>07883 344 6788</phone>
  <email>john.jones@blabla.com</email>
</user>

project

<?xml version="1.0"?>
<!--
    This is DATA file for Hackney Regeneration.
    It's format is at early stage will most likely change. 
-->
<project>
  <organization>some</organization>
  <tools>
    <twiki>
      <fee>400</fee>
      <backup>bla@nla.org</backup>
      <domain>hackney.openmute.org</domain>
    </twiki>
    <mlist>
      <backup>mark@some.org.uk</backup>
      <domain>lists.openmute.org/hackney-regeneration</domain>
    </mlist>
    <html>
      <scripts>email form 20</scripts>
      <backup>mark@some.org.uk</backup>
      <domain>webhackeny.openmute.org</domain>
    </html>
  </tools>
  <contact_userid>1</contact_userid>
  <users>
    <user id="1"/>
    <user id="2"/>
  </users>
  <id>1</id>
  <name>Hackney Regeneration</name>
</project>

project list

<?xml version="1.0"?>
<!--
    This is DATA file with all the projects.
    It's format is at early stage will most likely change. 
-->
<projects>
  <project name="Hackney Regeneration" id="1"/>
</projects>

to top

You are here: Stac > StAc > StAcMain > StAcArchitecture > StAcDataStorageModel

to top

Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Open-org? Send feedback