If you're talking about running some sort of a validator on the client, you would need to write it in Javascript. Do you have such a library already?
The Flash player has no such API in it, it just has a basic XML parser, which will either parse or fail to parse, but it doesn't do any validation against a user-supplied schema. The Laszlo LFC runtime calls the Flash player's XML parser when it loads data. It then copies the data into a tree of LzDataElement objects, which support the protocol needed to bind to datapaths in the application. On Wed, May 28, 2008 at 5:11 PM, Gilad Parann-Nissany < [EMAIL PROTECTED]> wrote: > Hi Laszlo Users > > We want our XML data (fetched from the server, and ends up in the end > inside datasets on the client) to be validated using XSD on the OL client. > We'd like to add the usual XSD header at the head of the XML. > > There is some unclarity whether this can work on a Laszlo based client. > Could you comment will this work - and how - if > > - the API is actually XML-RPC based and we are using SWF not AJAX (we > recall that the XML is actually packaged into a SWF) > - the API is REST-based; still using SWF on the client not AJAX > > Thanks > > Gilad > > > -- > __________________________________ > Gilad Parann-Nissany > VP Products > http://g.ho.st/ > Skype: gilad.parann.nissany > Mobile: +972 54 22 77 165 > -- Henry Minsky Software Architect [EMAIL PROTECTED]
