It's not a secret anymore!*
The moose likes Java in General and the fly likes Need examples and samples for parsing XML's with XSD's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need examples and samples for parsing XML Watch "Need examples and samples for parsing XML New topic
Author

Need examples and samples for parsing XML's with XSD's

kalpana Kumar
Ranch Hand

Joined: Jul 03, 2003
Posts: 65
I need to know where can I find the samples and complete examples which details the steps involved in parsing an XML with schema definition.

Please any links or book details would be very helpful.

Thanks
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Are you aware of The Apache project XMLBeans? From that page:

XMLBeans is a technology for accessing XML by binding it to Java types. XMLBeans provides several ways to get at the XML, including:
  • Through XML schema that has been compiled to generate Java types that represent schema types. In this way, you can access instances of the schema through JavaBeans-style accessors after the fashion of "getFoo" and "setFoo".
  • The XMLBeans API also allows you to reflect into the XML schema itself through an XML Schema Object model.
  • A cursor model through which you can traverse the full XML infoset.
  • Support for XML DOM.




  • There is no emoticon for what I am feeling!
    kalpana Kumar
    Ranch Hand

    Joined: Jul 03, 2003
    Posts: 65
    Thanks a lot for the information Jeff. I did not know about it.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Need examples and samples for parsing XML's with XSD's
     
    Similar Threads
    How ti run weblogic examples at
    how to use Xerces with JSP/servlets and Tomcat 4.1.27
    How to call java class from jsp file
    entity beans and Weblogic
    Please Help Me -- error from ejbc