This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validate my XSD code

 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to XSD and I have only notepad on my system
XML Code


My XSD schema for this is:

 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Anybody here
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mahesh shinde wrote:I am new to XSD and I have only notepad on my system



What exactly do you want to do? Validate the XML programatically?
 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just what I write as XSD Schema is it write or something I am miss
 
Paul Clapham
Sheriff
Posts: 21128
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still not clear. Are you asking whether that XSD is a valid schema? Are you asking whether that XML document is valid according to the schema? (It isn't even a well-formed XML document by the way.) Or what? It would help if you used standard XML terminology, too. (And also standard English... did you mean "write" or "right"?) Use the same terms as what is used in wherever you are studying from.
 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for Suggetions Paul
Now I have made good progress In XSD but still I have some confusions. So Please help

Here is my DTD Code:


For this DTD elements the XSD schema is as below:


Now please tell me the XSD Schema for above DTD elements is programatically correct or something I miss
Thanks for Everything

 
Paul Clapham
Sheriff
Posts: 21128
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "programatically correct"? I would have thought that "programatically" had something to do with programs, but I don't see any programs.
 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now please tell me the XSD Schema for above DTD elements is correct or something I miss
Please
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic