Results 1 to 2 of 2
- 12-30-2009, 07:39 AM #1
Member
- Join Date
- Feb 2008
- Posts
- 12
- Rep Power
- 0
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)
- 01-04-2010, 01:10 AM #2
Member
- Join Date
- Jan 2010
- Posts
- 13
- Rep Power
- 0
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
-
what is and how works the first ?, example.com/details?page=4
By lse123 in forum JavaServer Pages (JSP) and JSTLReplies: 4Last Post: 10-29-2009, 02:18 PM -
socket details
By rob in forum Advanced JavaReplies: 8Last Post: 03-03-2009, 02:33 PM -
WAR issue,please see the details
By milindvijayshah@gmail.com in forum Advanced JavaReplies: 0Last Post: 07-25-2008, 10:51 AM -
drop down box details info
By eeau1973 in forum New To JavaReplies: 0Last Post: 08-11-2007, 09:04 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks