Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: XML document formats?

From: rasmussen:bryan:gm:ail at: 22-Mar-2006 22:32

Xerces is another possibility, but I'm not as familiar with the Xerces C as I am with the Xerces Java, furthermore Xerces just gives you a parser, the Libxml project gives parser, schema languages support, XML Schema and Relax-NG etc. etc. As you noted before it seems complex, quite a bit of it is complex, and I believe needlessly so, some of it is set for a shaking out. I wonder somewhat if XML Schema will make it. But in the meantime XML Schema is necessary for anybody forced to deal with the horrors of SOAP, WS-I etc. Rebol is too far behind to hit any of these targets with the next release, but if a good library was included then there is enough code out there that could theoretically be leveraged to hit other targets. I mean even if Rebol came with a compliant XML parser at this point, that's too late. But if it came with Libxml and the non-compliant parse-xml as a fallback that's a big plus for certain developers. It would actually be a useful tool for me as an XML guy, and I can say that I am pretty skilled in various XML related technologies. someone asked about XPath being expressible as Path, do you mean would an XPath if queried for datatype return path? probably for simple ones, but here are some complex ones: /*[local-name()='document'] Return the document element (the first element encountered in the tree, the root element but technically not the root node, since the root node holds the document element as well) if the name of this element without namespace prefix is equal to document //p[-class]/a/-href return all attributes href on all a elements that are children of p elements that have an attribute class. I don't think these would return type path is queried in Rebol. Again I'd reiterate, the Libxml project implements not just many complex things, but many of the really useful technologies for working with XML, among which would be xpath, and relax-ng, a simpler than W3C XML Schema schema language. On 3/22/06, Petr Krenzelok <petr.krenzelok-trz.cz> wrote: