Gotcha. I just got confused Tag with Element. I can define different meaningful tag name.
Thanks, Dormilich.
User Profile
Collapse
Profile Sidebar
Collapse
emilyQ
Last Activity: Apr 14 '12, 02:03 PM
Joined: Mar 18 '12
Location:
-
So how can I fix these kind of problem? Actually, I still have <Genre>, <Year>, <Price> respectively used twice in <Album> and <Song>. Can i just use another name?Leave a comment:
-
Hi, Dormilich.
Thanks for your reply.
I do not quite understand what you mean. I think Album should be not empty, otherwise it makes no sense. It at least contains list of subelements like Genre, Year, Price etc. Could you please tell me more about your opinion? Do I have any syntax error in my xsd file?Leave a comment:
-
xsd problem
I am new in learning XML. I have to create a XSD for my XML file.
Below is my XSD file. But I got an error like this:
s4s-elt-must-match.1: The content of 'Album' must match (annotation?, (simpleType | complexType)?, (unique | key | keyref)*)). A problem was found starting at: element. music.xsd
I cannot figured it out. Could anyone help me? Thanks a lot!
my xml file
Code:<?xml version="1.0"
No activity results to display
Show More
Leave a comment: