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

[REBOL] Re: Rebol & XML

From: rebol:gavinmckenzie:fastmail:fm at: 8-Aug-2003 9:25

On Fri, 8 Aug 2003 15:55:02 +0200, "bryan" <[bry--itnisk--com]> said:
> >I haven't found that having a different syntax for addressing > attributes > >to be helpful. I just consider the attribute to be a child of the > >element. Yes, in theory it is possible to have an attribute and a > >child-element of the same name, but in practice I've never seen such an > >XML file in five+ years of working with XML. Or, at least not within > the > >same namespace. > > Unfortunately I have to be able to differentiate between them. I'm also > more likely to handle more document-like structures, bibliographic > materials, TEI, Docbook, xhtml etc, as such structures are less regular > they increase paranoia. >
Ahh...yes, so indeed you've fallen outside the goal of xml-object which is not intended to be used for document-oriented XML. I've just started working with DocBook myself lately.
> [...]
A real-live XPath implementation in REBOL would be useful, though *waayyy* non-trivial to build. Or, at least, building a compliant XPath implementation is non-trivial. A few years ago I contracted out to a company (Ginger Alliance in the Czech Republic (though I'm in Canada), see bunch of folks to work with) to build an XPath processor. They had lots of experience with XPath and XSLT and still it was a multi-week full-time-developer effort to get the XPath functionality working properly. Gavin.