473,324 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

reading Xsd file in java

Hello all,

I want to read the following file through java....
Anyone who knows plz help me ...
The file is


Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns="http://ContextML/1.6c" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ContextML/1.6c" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3.     <xs:simpleType name="Temperature">
  4.         <xs:annotation>
  5.             <xs:documentation>Value of Temperature</xs:documentation>
  6.         </xs:annotation>
  7.         <xs:restriction base="xs:string">
  8.             <xs:enumeration value="OK"/>
  9.             <xs:enumeration value="ERROR"/>
  10.             <xs:enumeration value="WARN"/>
  11.             <xs:enumeration value="TRUE"/>
  12.             <xs:enumeration value="FALSE"/>
  13.         </xs:restriction>
  14.     </xs:simpleType>
  15.     <xs:simpleType name="Your Id">
  16.         <xs:annotation>
  17.             <xs:documentation>Value available for a Your Id</xs:documentation>
  18.         </xs:annotation>
  19.         <xs:restriction base="xs:string">
  20.             <xs:enumeration value="id"/>
  21.             <xs:enumeration value="url"/>
  22.         </xs:restriction>
  23.     </xs:simpleType>
  24.     <xs:element name="Parameters">
  25.         <xs:annotation>
  26.             <xs:documentation>Parameter</xs:documentation>
  27.         </xs:annotation>
  28.         <xs:complexType>
  29.             <xs:simpleContent>
  30.                 <xs:extension base="xs:string">
  31.                     <xs:attribute name="n" type="xs:string" use="required"/>
  32.                 </xs:extension>
  33.             </xs:simpleContent>
  34.         </xs:complexType>
  35.     </xs:element>
Oct 15 '09 #1
1 3663
Dököll
2,364 Expert 2GB
Hi!

This probably is not what you need:

http://mindprod.com/jgloss/xsd.html

but I could not find you anything; I would like to invite you to search and see

http://www.coderanch.com/t/428314/XML-Related-Technologies/Reading-XML-using-XSD-schema


My Google results:-)

http://www.google.com/search?hl=en&r...&start=10&sa=N

It's probable you'd already scanned these,

L8ter!
Nov 10 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: deko | last post by:
Do I need to use flock() when reading a file into an array? It's possible that the file in question could be open at the time the file('filename') request is made. I realize flock() is required...
19
by: Lionel B | last post by:
Greetings, I need to read (unformatted text) from stdin up to EOF into a char buffer; of course I cannot allocate my buffer until I know how much text is available, and I do not know how much...
4
by: Oliver Knoll | last post by:
According to my ANSI book, tmpfile() creates a file with wb+ mode (that is just writing, right?). How would one reopen it for reading? I got the following (which works): FILE *tmpFile =...
11
by: Matt DeFoor | last post by:
I have some log files that I'm working with that look like this: 1000000000 3456 1234 1000000001 3456 1235 1000020002 3456 1223 1000203044 3456 986 etc. I'm trying to read the file...
2
by: archana | last post by:
Hi all, I am new to asp.net (learning phase). I have to develop application in asp.net to read file from client pc and display statistics of that file to client. So my question is that to...
1
by: Cybelle | last post by:
please anyone can help me to solve this stuff, this is our final ., theres an error and i dont know how to solve it., import java.awt.*; import java.awt.event.*; import java.net.*;...
3
by: miss time | last post by:
Hi all, my java friends ^-^ I have next week quiz in reading file text ,and understand the topic very well. can any one give some question related to this topic .this help me more to...
1
by: artic | last post by:
Hi all.. I am currently doing a project on Card Reading using Java. I need one help, which package is best to read the card in java?
1
Coldfire
by: Coldfire | last post by:
Hi, The strange problem i am having is, the input element of type='file' not reading file names after 20 file elements. It simple returns null on reading the 'name' of file. The code is...
1
by: bjoarn | last post by:
I have an Application C# handling file reading, building index on this file, using dll wrapped with SWIG. The dll is originaly programmed in C++. Dll reports back to the the C# programm throug...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.