[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] an xml schema for (single|multiple)_cell_document file XML for
From: |
Greg Chicares |
Subject: |
Re: [lmi] an xml schema for (single|multiple)_cell_document file XML format |
Date: |
Tue, 10 Aug 2010 12:49:10 +0000 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
On 2010-08-10 10:41Z, Greg Chicares wrote:
>
> | A simple workaround would be to rename the 'cell' nodes into
> | the corresponding cell type: 'case', 'class', 'cell'. This allows
> | to fix the document node structure and to get rid of the redundant
> | nodes 'NumberOfXXX'.
>
> These three categories must be distinguished somehow. I'm inclined to add
> an attribute or a subelement. Changing the main element tag seems drastic.
Alternatively, use enclosing elements instead of delimiters,
transforming the present '.cns' format:
<multiple_cell_document>
<cell version="4"> <!--First one is 'case' by
convention...-->
...
</cell>
<NumberOfClasses>1</NumberOfClasses> <!--...followed by one or more
classes...-->
<cell version="4">
...
</cell>
<NumberOfCells>1</NumberOfCells> <!--...followed by one or more cells.-->
<cell version="4">
...
</cell>
</multiple_cell_document>
into something like this:
<multiple_cell_document>
<case>
<cell>...</cell>
</case>
<classes>
<cell>...</cell>
</classes>
<cells>
<cell>...</cell>
</cells>
</multiple_cell_document>