[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

ANNOUNCE : quick hack to bind XML to objects

  • From: Eric van der Vlist <vdv@d...>
  • To: xml-dev@i...
  • Date: Fri, 14 Jan 2000 09:10:13 +0100

hack bind
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@i...
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.



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.