Re: XML in core

Peter Bienstman <[email protected]> Fri, 7 Nov 2003 09:57:48 +0100
Newsgroups gmane.comp.tools.memaid.devel
Organization Ghent University
Message-ID <[email protected]>
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 07 November 2003 06:59, David Calinski wrote:

> Format is: (it's proposed format, I would like to hear your feedback)
>
> <memaid_data core_version=3D"5" time_of_start=3D"1068183140">
>
> <item tm_t_rpt=3D"2" stm_t_rpt=3D"0" l_ivl=3D"0" rl_l_ivl=3D"0" ivl=3D"2"=
 rp=3D"0"
> gr=3D"3"> <id>
> <![CDATA[id string]]>
> </id>
> <question>
> <![CDATA[question here]]>
> </question>
> <answer>
> <![CDATA[answer here]]>
> </answer>
> </item>

BTW, the dtd I used for PyQt MemAid / Superkaramba can be found here:

http://cvs.sourceforge.net/viewcvs.py/memaid/superkaramba/util/memaid.dtd?r=
ev=3D1.2&view=3Dauto

Apart from the category stuff, it is slightly different. I think for the=20
common functionality we should standardise as much as possible. I don't=20
really care what the fields are called exactly, so as soon as you've decide=
d=20
on the final format, I'll adapt mine.

> I was based it on Klemens propose, and Bruno suggestion about short
> variables. (e.g. "gr" instead of "grade"). Is it ok?
>
> Ah, I added <id> field.
> Should <id> field be protected with <![CDATA[ as well, or maybe it's
> exaggeration? Well, never know who and what for will use id field in the
> future.

That sounds good.

Cheers,

Peter

=2D ------------------------------------------------
Peter Bienstman
Ghent University, Dep. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 45, fax: +32 9 264 35 93
WWW: http://photonics.intec.ugent.be
email: [email protected]
=2D ------------------------------------------------
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/q16M4dgPAIjyquoRAtczAKCUtmyybOZ8rN60ZQQDiO9T5v16XwCg1y9w
GRyIqN3QEbiMqLm1OjhkjlA=3D
=3Dplap
=2D----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/