Results 1 to 2 of 2
  1. #1
    j_kathiresan is offline Member
    Join Date
    Feb 2008
    Rep Power

    Default How to extract a particular element details which has more references ???

    Hi All,

    I'm having many schema files (.xsd). Each schema files may include one or two external schema files.

    Example, <xs:include schemaLocation="wait-advanced.xsd"/>

    1) Assume that there are 50 elements in each schema file.

    2) Assume many complex types defined in each schema file

    3) Each elements has inner elements, attributes and refer complex types from the same file or a different file (i.e refer the complex elements defined in another schema file)

    Need to extract the following:

    a) Now let us assume a schema file name is "WaitingRequest.xsd" and it has element name called "waiting-details".

    b) waiting-details element internally has elements which refers to complex types of the same schema file as well as from different schema files.

    c) Now if the user gives the "waiting-details" i want to extract all the elements, referred elements, referred complex types etc., in a separate schema file.

    Can anyone please help and let me how we can do this via Java?

    Kathir (

  2. #2
    yanivby is offline Member
    Join Date
    Jan 2010
    Rep Power


    Hi Kathir,
    There are several free and open sourced Java parsers and APIs for XML Schema. You can find some of them by searching for "java xml schema parser" or "java xml schema api" on Google. You could also search in open source repositories such as,, sourceforge, and many others.
    Hope this helps!

Similar Threads

  1. what is and how works the first ?,
    By lse123 in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 10-29-2009, 03:18 PM
  2. socket details
    By rob in forum Advanced Java
    Replies: 8
    Last Post: 03-03-2009, 03:33 PM
  3. WAR issue,please see the details
    By in forum Advanced Java
    Replies: 0
    Last Post: 07-25-2008, 10:51 AM
  4. drop down box details info
    By eeau1973 in forum New To Java
    Replies: 0
    Last Post: 08-11-2007, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts