Hi,
I want to store the following xml document with a stylsheet within it.
…
… stuff
xsl:stylesheet
…my stylesheet document
</xsl:stylesheet>
How do I define a schema for this? It won’t allow me to specify the xsl prefix for stylesheet.
J
Hello Jean,
could you please let us know which version of Tamino you are using for this?
The XML Schema “xs:import” element (which I believe has been supported since Tamino 4.1) enables the import of a schema definition from a different namespace (i.e. “xsl”).
You should be able to store the XSL schema in Tamino, then import it into your schema with an xs:import and use the elements/attributes from the XSL schema within your own schema…
If this doesn’t help you resolve the problem, please post your schema here.
Thanks,
Trevor.
Thanks Trevor, I’ll give it a try.