Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Free XML in schema Free XML in schemaTo: NULL Date: 5/14/2008 10:06:00 AM
I'm trying to create a schema for a messaging application, but one of the
fields needs to contain XHTML. e.g.
<message>
<subject>Hello!</subject>
<body>
<h1>Test</h1>
<p>This is a test message</p>
</body>
</message>
I have:
<xs:element name="body" type="xs:string" minOccurs="1" maxOccurs="1" />
But this fails for the above snippet because I have type=string. How can I
allow this element to contain free XML?
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
