<html><body bgcolor="#FFFFFF"><div>You can use the JSword libraries directly from xslt to access the SWORD modules. We also have a working example of ajax (using dwr).&nbsp;</div><div><br></div><div>Alternatively you can use corba as Sword Web does.&nbsp;</div><div><br></div><div>In Him,</div><div>&nbsp;&nbsp; &nbsp;DM &nbsp;<br><br>Sent from my phone</div><div><br>On Aug 2, 2009, at 7:41 PM, Jim Kinsman &lt;<a href="mailto:jakinsman@gmail.com">jakinsman@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>this looks very promising,<br>is this only a java thing, or is there a port of it to something else (such as PHP or javascript)<br>would be very useful for combining this with ajax and json I think<br>thanks,<br>Jim<br><br>
<div class="gmail_quote">On Wed, Jul 1, 2009 at 11:15 AM, David Haslam <span dir="ltr">&lt;<a href="mailto:d.haslam@ukonline.co.uk"><a href="mailto:d.haslam@ukonline.co.uk">d.haslam@ukonline.co.uk</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I just discovered this - which may be of interest to us for making XML files<br>
from other file formats.<br>
<br>
<a href="http://www.brics.dk/xsugar/" target="_blank"><a href="http://www.brics.dk/xsugar/">http://www.brics.dk/xsugar/</a></a> XSugar - dual syntax for XML languages<br>
<br>
XML is successful as a machine processable data interchange format, but it<br>
is often too verbose for human use. For this reason, many XML languages<br>
permit an alternative more legible non-XML syntax. XSLT stylesheets are<br>
often used to convert from the XML syntax to the alternative syntax;<br>
however, such transformations are not reversible since no general tool<br>
exists to automatically parse the alternative syntax back into XML.<br>
<br>
XSugar makes it possible to manage dual syntax for XML languages. An XSugar<br>
specification is built around a context-free grammar that unifies the two<br>
syntaxes of a language. Given such a specification, the XSugar tool can<br>
translate from alternative syntax to XML and vice versa. Moreover, the tool<br>
statically checks that the transformations are reversible (i.e.<br>
bidirectional) and that all XML documents generated from the alternative<br>
syntax are valid according to a given XML schema.<br>
<br>
-- David<br>
--<br>
View this message in context: <a href="http://www.nabble.com/XSugar---dual-syntax-for-XML-languages-tp24291609p24291609.html" target="_blank"><a href="http://www.nabble.com/XSugar---dual-syntax-for-XML-languages-tp24291609p24291609.html">http://www.nabble.com/XSugar---dual-syntax-for-XML-languages-tp24291609p24291609.html</a></a><br>

Sent from the SWORD Dev mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org"><a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a></a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank"><a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org"><a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a></a></span><br><span><a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></span><br><span>Instructions to unsubscribe/change your settings at above page</span></div></blockquote></body></html>