[EMAIL PROTECTED] wrote:
I mean, I need an xsd file for the XSLT part of XSL specification....
Does it exist somewhere?
There is a DTD in appendices of W3C XSLT specification. However DTD cannot describe rules such as 'any element not from XSLT namespace' hence it cannot describe XSLT correctly. XSD may be able to do so using <xsd:any namespace="##other"/> rule, but it does not allow to specify contents of the element. The only way to do strict validation is to specify the processContents="strict" attribute and link to another XSD file validating this element but you would need infinite number of XSD files (one for each namespace). To make the story short, I think that XSD Schema is not capable of strictly validating XSLT file. Your hope lies in Relax, RelaxNG or Trex grammars - I think that Xerces does have support for them. Try http://www.thaiopensource.com/relaxng/xslt.rng
I hope it helped.
Sincerely,
Martin Vysny
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]