Next in thread → Next in month →

Re: [xml-dev] datatype aware schematron with xslt2 query binding issue

From
David Carlisle <>
To
Date
2008-03-19T14:56:30Z
ID
<>
Thread
Re: [xml-dev] datatype aware schematron with xslt2 query binding issue
> Is there no Schematron mechanism that triggers the inclusion of
> 
> <xsl:import-schema schema-location="file:///dcterms-elem.xsd"
> namespace="http://purl.org/dc/terms/"/>
> 
> in the generated XSLT file?


just put the line into your schematron schema and tell the processor to
copy foreign (ie non-schematron) elements to the generated xsl, using
 allow-foreign=true

see
http://eccnet.eccnet.com/pipermail/schematron-love-in/2007-May/000693.html

which is to access xsl:function, but the same should work for
<xsl:import-schema 



David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Next in thread → Next in month →