Hello,

I have a problem loading simple XML data. The solution must be quite simple,
but despite searching the Laszlo reference and developer's guide I haven't
found the error yet.

I have a very simple XML file that I'm attempting to display in a grid. The
file is located in the my-apps directory. For some reason, if I refer to the
file simply as "some.xml", all the rows in the file are displayed in a grid.

<dataset name="mydata" src="some.xml" />
<simplelayout axis="y" spacing="0" />
<grid datapath="mydata:/root" />

However, in the following case only the first few rows are displayed:

<dataset name="mydata"
src="http://localhost:8080/lps-3.3.3/my-apps/some.xml"; request="true" />
<simplelayout axis="y" spacing="0" />
<grid datapath="mydata:/root" />

I tried two different files and got different number of rows displayed, but
in both cases only the first few items. If I access the file with the above
URL with my browser, all the data in the file is displayed correctly.

Any ideas?

Regards,
Mikko


Reply via email to