If you&#39;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&#39;t do any validation against a user-supplied schema. The Laszlo<br>LFC runtime&nbsp; calls the Flash player&#39;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 &lt;<a href="mailto:gilad.parann.nissany@g.ho.st">gilad.parann.nissany@g.ho.st</a>&gt; 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&nbsp;ends up in the end inside datasets on the client) to be validated using XSD on the OL client. We&#39;d like to add the&nbsp;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&nbsp;Parann-Nissany<br>VP&nbsp;Products<br><a href="http://g.ho.st/" target="_blank">http://g.ho.st/</a><br>Skype:&nbsp;gilad.parann.nissany<br>Mobile:&nbsp;+972&nbsp;54&nbsp;22&nbsp;77&nbsp;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>