Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can someone verify the attached XML schema

 
john sal
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic