Hello again, I think I was bit too quick to send the previous message. I now managed to trace the problem to some special characters I have in the xml file. Many scandinavian names have characters like a with umlaut and o with umlaut. When I removed these, the all the rows displayed correctly.
I'm not sure how to go around this problem though.. Why is the data displayed in the first instance but cuts the dataset short in the second instance? Maybe it has something to do with how IIS encodes the data? Mikko -----Alkuperainen viesti----- Lahettaja: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Mikko Valjento Lahetetty: 26. lokakuuta 2006 20:54 Vastaanottaja: [email protected] Aihe: [Laszlo-user] loading xml data, only a few rows displayed 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
