Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

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

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Thanked 0 Times in 0 Posts

    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 (j_kathiresan@yahoo.co.in)

  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Thanked 619 Times in 561 Posts
    Blog Entries

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

    How do you think it could be accomplished? i.e. code or general thoughts

Similar Threads

  1. how to extract variables,keywords,operator...
    By Nanda in forum Java Theory & Questions
    Replies: 1
    Last Post: November 12th, 2009, 10:19 PM
  2. How can i point the mouse over a html element within the web browser?
    By bobomonkey in forum Java Theory & Questions
    Replies: 2
    Last Post: October 18th, 2009, 12:37 PM
  3. Replies: 4
    Last Post: June 18th, 2009, 09:23 AM