forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: Graph data
Date Thu, 21 Feb 2002 14:04:36 GMT
> From: David Crossley [mailto:crossley@indexgeo.com.au]
> 
> Steven Noels wrote:
> > David Crossley wrote:

<snip/>

> The only suggestion that i have at this stage is that
> you get some of the data munging done at Sam's end.
> 
> One thing that i am still confused about is why the
> final structure has <datum> elements as children of a
> <datum> element. Surely that would confuse the next
> stylesheet.

This is because the individual numbers weren't in the
original plan.  However, now I've seen them I wouldn't
loose them.  Better tag names welcome :)

J.

> <graph>
>  <data group="Downloads">
>   <datum total="3441" week="2001-43">
>    <datum value="90" dir="axis" /> 
> ...
>    <datum value="64" dir="xerces-p" /> 
>   </datum>
> 
> That is one reason that i asked if you had DTD yet,
> actually an internal subset will suffice. I think that defining
> the structure helps to visualise both the process and the
> requirements. Here is a start (but it does not make sense to me).
> 
> <?xml version="1.0"?>
> <!DOCTYPE graph [
> <!ELEMENT graph (data+,events)>
> <!ELEMENT data (datum+)>
> <!ELEMENT datum (datum+)>   <!-- <<<<<< Woops -->
> <!ELEMENT datum EMPTY> 
> <!ELEMENT events (event+)>
> <!ELEMENT event EMPTY> 
> ]>
> 
> <graph>
> ...
> 
> Anyway, my parser chokes on this ...
> Error: duplicate declaration for element 'datum'
> 
> --David


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Mime
View raw message