Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Schema SchemaTo: NULL Date: 12/1/2005 8:52:00 PM I'm trying to write an XSD schema that will allow one of the nodes in the
document have any amount of undefined XML in it. This node will have an XSL
stylesheet in it so I obviously would be able to account for all the
elements that coudl be in there (because I'm using extension object
functions in the XSL). So I tried to use this in my XSD:
<xsd:element name="PackageTransform">
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
It does not work, no matter what I put in the PackageTransform element (I
even tried putting in just one <test/> element) I always get a validation
error.
Any idea how I can get create a schema that will work for what I want to do.
Thanks.
--Buddy
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
