Hi,
I'm writing an XML schema for a format that should allow entire XSL stylesheets to be embedded within a particular element.
Example:
<cxl xmlns="http://www.mynamespace.com/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <document> <name>My document</name> <transform pattern=".*\.xml"> <xsl:stylesheet> <!-- Stylesheet --> </xsl:stylesheet> </transform> </document> </cxl>
Now there are two problems:
1) My input documents must be validated against a schema.
2) There is no schema for XSL.
I've looked at <xsd:any> but "any" elements still have to be declared in another schema.
Basically what I want is for validation to be temporarily "suspended" within particular elements, so as to allow inclusion of structures for which there is no schema. Is this possible?
Thanks
-Laurens
I'm writing an XML schema for a format that should allow entire XSL stylesheets to be embedded within a particular element.
Example:
<cxl xmlns="http://www.mynamespace.com/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <document> <name>My document</name> <transform pattern=".*\.xml"> <xsl:stylesheet> <!-- Stylesheet --> </xsl:stylesheet> </transform> </document> </cxl>
Now there are two problems:
1) My input documents must be validated against a schema.
2) There is no schema for XSL.
I've looked at <xsd:any> but "any" elements still have to be declared in another schema.
Basically what I want is for validation to be temporarily "suspended" within particular elements, so as to allow inclusion of structures for which there is no schema. Is this possible?
Thanks
-Laurens