permaculture playing cards*
The moose likes XML and Related Technologies and the fly likes Can someone verify the attached XML schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Can someone verify the attached XML schema " Watch "Can someone verify the attached XML schema " New topic
Author

Can someone verify the attached XML schema

john sal
Ranch Hand

Joined: Jul 30, 2010
Posts: 93
I recently started working on XML and I am creating an xsd for the following sample xml


I created the following schema for the above XML



Can someone look at it and let me know if this is the right schema for the above sample xml?

I am not sure if I used the "student_list" in a right way.
Grigor Avagyan
Greenhorn

Joined: Oct 26, 2010
Posts: 1
Hello , John
john sal wrote:I recently started working on XML and I am creating an xsd for the following sample xml


At first. Your XML contain some errors:
1. </path> must be </name>
2. </module> must be </age>
3. </coulmnname> must be </Roll_No>

john sal wrote:
I created the following schema for the above XML


Can someone look at it and let me know if this is the right schema for the above sample xml?

I am not sure if I used the "student_list" in a right way.


You use "student_list" in a right way, but correct "rollnumber" to "Roll_No" and everything be good
Or you can use this schema:


Regards , Grigor
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can someone verify the attached XML schema