Re: About o:XML
Brian Chrisman <[email protected]> Mon, 18 Apr 2005 18:25:05 -0700
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 18, 2005 at 03:58:56PM -0000, Ashwin Jayaprakash wrote:
> Hi guys,
> I have a simple question regarding your project. I've been following such "executable XML" libraries for sometime now. But recently, XQuery has picked up a lot of momentum. I'd appreciate it if you could explain to me how projects such as yours or Jelly etc are different from XQuery or where one would use o:XML and not XQuery. I still don't know why one would want to write a program in XML and not in simple English-like languages like Java/C.
>
I'm not a developer on this project.
I see a couple advantages to an XML syntax language such as this:
- program mutability... XML parsers are well implemented. Creating
code that generates or modifies other code is simplified.
- clear syntax.. one thing I like about XSLt (and by extension, o:xml)
is the explicit delimiters for code blocks. To me:
<xsl:if test="(expression)">
(bunch 'o stuff)
</xsl:if>
is more clear than
if ( (expression) ) {
(bunch 'o stuff)
}
... particularly when nested.
This is more of a style preference though, not as compelling
as the former reason.
- syntax error issues. Many of what would normally be syntax
errors determined by the compiler, can be picked up by verifying
a program against an XSD schema document. Probably makes it
easier for those writing compilers?
-Brian Chrisman
> Thanks,
> Ashwin (www.JavaForU.com).
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> o-xml mailing list
> o-xml-zRfLyl9bSvv/[email protected]
> http://lists.pingdynasty.com/mailman/listinfo/o-xml