What's wrong with my XML? RRS feed

  • Question

  • I am trying to copy exactly from the book but I am getting an error telling me I can't nest <xs:element> tags the way I am nesting them:





    xs:element name="books">
    xs:element name="book" minOccurs="0" maxOccurs="unbounded">

    I get an error on the second element tag stating "Warning 1 The 'http://www.w3.org/2001/XMLSchema:element' element is not supported in this context."

    What am I doing wrong?



    Saturday, November 6, 2010 12:16 AM