If you're talking about running some sort of a validator on the client, you would need to write it in<br>Javascript. Do you have such a library already? <br><br>The Flash player has no such API in it, it just has a basic XML parser, which will either<br>
parse or fail to parse, but it doesn't do any validation against a user-supplied schema. The Laszlo<br>LFC runtime calls the Flash player's XML parser when it loads data. It then copies the data<br>into a tree of LzDataElement objects, which support the protocol needed to bind to datapaths in the application.<br>
<br><br><div class="gmail_quote">On Wed, May 28, 2008 at 5:11 PM, Gilad Parann-Nissany <<a href="mailto:gilad.parann.nissany@g.ho.st">gilad.parann.nissany@g.ho.st</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p>Hi Laszlo Users</p>
<p>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.</p>
<p>There is some unclarity whether this can work on a Laszlo based client. Could you comment will this work - and how - if</p>
<ul>
<li>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)</li>
<li>the API is REST-based; still using SWF on the client not AJAX</li></ul>
<p>Thanks</p>
<p>Gilad</p>
<p><br><font color="#888888">-- <br>__________________________________<br>Gilad Parann-Nissany<br>VP Products<br><a href="http://g.ho.st/" target="_blank">http://g.ho.st/</a><br>Skype: gilad.parann.nissany<br>Mobile: +972 54 22 77 165<br>
</font></p></div></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>