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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   ANNOUNCE : quick hack to bind XML to objects

[ Lists Home | Date Index | Thread Index ]
  • From: Eric van der Vlist <vdv@dyomedea.com>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 14 Jan 2000 09:10:13 +0100

Hi,

I do not pretend to solve the big picture and I would have used existing
products if they were mature enough (I hope I am not hurting anyone),
but I have developed a "quick hack to bind XML to objects" for one of my
projects.

The idea is to use a XSL transformation to preprocess the XML files into
something easy to interpret by a low level SAX parser which is updating
the objects through java.lang.reflect.

If you want to know more about this hack, I have published it on our web
:

     http://downloads.dyomedea.com/java/xmlbinder/

along with simples examples
(http://downloads.dyomedea.com/java/xmlbinder/com/dyomedea/xmlbind/examples/)
showing how :

1) A XML document is processed through a XSLT sheet into an XML
preprocessed actions definition file.
2) The data is binded into a "complex" object which can be either
transient or persistent (stored in a ozone OODB).
3) These objects can be XML aware and saved back into a XML document.
4) These objects can be used in a XSLT sheet (using XT).

Your comments and suggestions are welcome !

Thanks

Eric

-- 
------------------------------------------------------------------------
Eric van der Vlist                                              Dyomedea

http://www.dyomedea.com                          http://www.ducotede.com
------------------------------------------------------------------------

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

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

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