This question is just for information purposes.
I read in the documentation that if you have a datapath URL like
dset:/people/contact
The enclosing element will be repeated if there are multiple
"contact" nodes under /people. Is this correct? That seems to be the
case on the working samples of the documentation.
Now, I have an xml document that looks like this:
<response>
<countries>
<country ... />
...
</countries>
</response>
According to the textbook explanation, if I put a datapath of
dset:/response/countries/country
It should repeat the element for the number of "country" nodes under /
countries. However, when I do this:
<grid datapath="dset:/response/countries/country">
...
</grid>
It shows no data, whereas if I do this:
<grid datapath="dset:/response/countries">
...
</grid>
it works just fine. Am I confused, misreading the docs, or are the
docs incorrect?
Thanks,
Daniel
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user