OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: RE: [xml-dev] data types

[ Lists Home | Date Index | Thread Index ]


I think the problem here is not going to be solved by a DOM like
representation. The guy seems to clearly access the data from the XML
and the solution he should try is data-binding.
I would advise to try a data-binding framework such as Castor XML


> -----Original Message-----
> From: Mike Champion [mailto:mc@xegesis.org]
> Sent: Wednesday, July 10, 2002 2:44 AM
> To: xml-dev@lists.xml.org
> Subject: Re: RE: [xml-dev] data types
> 7/9/2002 7:11:33 PM, Rob Griffin <Rob.Griffin@oz.quest.com> wrote:
> >
> >  Yes there is. Parse the schema itself with a DOM parser and then
> access the
> >  DOM.
> OK, but then you have to correlate the element in the instance with
> the type in
> the schema, which strikes me as non-trivial in the general case
> (considering all
> the the inheritance rules in WXS), although obviously pretty easy in
> the example given.
> But the point is well-taken: if one keeps things reasonably simple,
> you can
> "roll your own" support for this kind of thing rather than having to
> wait
> for Apache or Microsoft to do it.
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS