Help needed in XMl - Data

Usha_R2@verifone.com
Fri, 28 Aug 1998 17:12:29 +0530


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@verifone.com