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

    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?

    Thanks,
    Kathir (j_kathiresan@yahoo.co.in)

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

    Default

    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 java.net, code.google.com, sourceforge, and many others.
    Hope this helps!
    yanivby

Similar Threads

  1. what is and how works the first ?, example.com/details?page=4
    By lse123 in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 10-29-2009, 02:18 PM
  2. socket details
    By rob in forum Advanced Java
    Replies: 8
    Last Post: 03-03-2009, 02:33 PM
  3. WAR issue,please see the details
    By milindvijayshah@gmail.com 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
  •