[PD] re: state saving
Thomas Grill
t.grill at gmx.net
Sat Nov 29 01:18:04 CET 2003
Hi,
could one XML expert give me a hand and have a look at the following XML
structure?
I have the feeling that the value item using "key" as an attribute isn't
really well-done, as well as the the way how hierarchies are implemented
using the "dir" item. Is there a common way to define hierarchies in XML
land?
best greetings,
Thomas
> Pool hierarchies in XML look like this (indentation by me):
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE pool SYSTEM "pool.dtd">
> <pool>
> <value key="1">60</value>
> <value key="2">51</value>
> <dir key="bla">
> <value key="2">66</value>
> <value key="1">44</value>
> </dir>
> <dir key="check">
> <value key="2">69</value>
> <value key="1">41</value>
> </dir>
> <dir key="bass">
> <value key="2">8</value>
> <value key="1">96</value>
> </dir>
> </dir>
> <dir key="1">
> <value key="a_symbol">0</value>
> <value key="b_symbol">89</value>
> <dir key="subfolder">
> <value key="subkey">with a list inside</value>
> </dir>
> </dir>
> </pool>
>
> Maybe there's even more inside...
>
> ciao
> --
> Frank Barknecht _ ______footils.org__
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>
More information about the Pd-list
mailing list