XML & Web services: newbie question about xml schema
hi all i am new to xml schema,in my xml file, i have following element in my schema, i want to restrict the value of format attribute to either "XML" or "TEXT", who can tell me how to declare that? Thanks
- Posted by: zhebin cong
- Posted on: April 11 2008 06:02 EDT
your schema validator(xsd or dtd) for the xml must look something like this. the exact syntax might not be correct though.