[sword-devel] XSugar - dual syntax for XML languages
DM Smith
dmsmith at crosswire.org
Sun Aug 2 18:11:42 MST 2009
You can use the JSword libraries directly from xslt to access the
SWORD modules. We also have a working example of ajax (using dwr).
Alternatively you can use corba as Sword Web does.
In Him,
DM
Sent from my phone
On Aug 2, 2009, at 7:41 PM, Jim Kinsman <jakinsman at gmail.com> wrote:
> this looks very promising,
> is this only a java thing, or is there a port of it to something
> else (such as PHP or javascript)
> would be very useful for combining this with ajax and json I think
> thanks,
> Jim
>
> On Wed, Jul 1, 2009 at 11:15 AM, David Haslam
> <d.haslam at ukonline.co.uk> wrote:
>
> I just discovered this - which may be of interest to us for making
> XML files
> from other file formats.
>
> http://www.brics.dk/xsugar/ XSugar - dual syntax for XML languages
>
> XML is successful as a machine processable data interchange format,
> but it
> is often too verbose for human use. For this reason, many XML
> languages
> permit an alternative more legible non-XML syntax. XSLT stylesheets
> are
> often used to convert from the XML syntax to the alternative syntax;
> however, such transformations are not reversible since no general tool
> exists to automatically parse the alternative syntax back into XML.
>
> XSugar makes it possible to manage dual syntax for XML languages. An
> XSugar
> specification is built around a context-free grammar that unifies
> the two
> syntaxes of a language. Given such a specification, the XSugar tool
> can
> translate from alternative syntax to XML and vice versa. Moreover,
> the tool
> statically checks that the transformations are reversible (i.e.
> bidirectional) and that all XML documents generated from the
> alternative
> syntax are valid according to a given XML schema.
>
> -- David
> --
> View this message in context: http://www.nabble.com/XSugar---dual-syntax-for-XML-languages-tp24291609p24291609.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20090802/96400116/attachment.html>
More information about the sword-devel
mailing list