OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xml schema validation ?

Title: xml schema validation ?

Hi List,
I am new to list and XML.
I am looking for a sample xml document and its schema which validates that
an element should not be null

i.e <book>
       <author></author> ' now if author is not null this should not be allowed
                                    there should be valid text in <author> element.
       <price>23</price> ' price should always be greater than 0.

can somebody send me an xml document and its schema which meets conditions like ones in above document.