Help needed in XMl - Data

Usha_R2 at verifone.com Usha_R2 at verifone.com
Fri Aug 28 13:42:44 BST 1998


Hi! All,

I put the following in a .xml file say book.xml and tried to parse it
using MSXML parser. I got the following erro parsing it. Can anybody
please help me how to fix it.

C:\xml\test>jview /cp c:\micxml\classes c:\micxml\msxml -d book1.xml
Expected comments, PI, or EOF instead of start tag(<)
Location: file:/C:/xml/test/book1.xml(29,1)
Context: <null>


book.xml
--------

<?XML version='1.0' ?>
<s:schema>

    <elementType id="name">
        <string/>
    </elementType>

    <elementType id="Person">
        <any/>
    </elementType>

    <elementType id="author">
        <string/>
    </elementType>

    <elementType id="titlePart">
        <string/>
    </elementType>

    <elementType id="title">
        <mixed><element type="#titlePart"/></mixed>
    </elementType>

    <elementType id="Book">
        <element type="#title" occurs="OPTIONAL"/>
        <element type="#author" occurs="ONEORMORE"/>
    </elementType>

</s:schema>
<Book>
    <author>Henry Ford</author>
    <author>Samuel Crowther</author>
    <title>My Life and<titlePart>Work</titlePart></title>
</Book>

Thank you
Usha
K. Usha Rani
 
Dept        : Applications
Phone    : (080) - 2869920
Email     :  usha_r2 at verifone.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list