Re: adding a namespace declaration to result stylesheet?

Rick Jelliffe <[email protected]> Tue, 16 Sep 2003 01:35:06 +1000
Newsgroups gmane.text.xml.schematron
Message-ID <[email protected]>
BEGED-DOV,GABE (HP-Corvallis,ex1) wrote:

>Does the library element generate the xsl:import for the xslt
>implementation? If so, this is very useful and something I added to my local
>version of schematron in order to make use of msxsl extension functions.
>When are you planning to make this available? The <library> element and the
><let> element are the two things that I added to my local version. 
>  
>
I like pipelines, so I would be adding it as a preprocessor, to make its 
implementation
semantics very clear. But it would be simple macro inclusion of the 
children of the
referenced schema's root element (i.e.   
document($library)/sch:schema/*   IYSWIM).

>Another thing that I added was a higher level aggregation of schematron
>documents(multi-schematron). The multi-schematron document referenced the
>individual schematron documents. The multi-schematron "runner" would run the
>individual schematron against the input document and wrap the resulting
>output using a single trivial wrapper element around the individual
>conformance output documents.
>
Could you post an example of what it looks like?  How is this different from
  * phases
  * libraries
  * ISO DSDL's mooted Framework (perhaps rather like XPipeline)
  * ISO DSDL's  mooted Validation Candidate Selection Language (which 
extracts trees from the
  instance by namespace, and validates each individually against one or 
more schemas
  as appropriate) ?

>This worked a lot better in terms of authoring discrete validation modules
>that could then be run either individually or as part of a larger validation
>suite. IMO, the alternative of using external entities is too intrusive and
>cumbersome. I don't use the inheritance features of Schematron and feel that
>a  module system that supports easy composition is more important to
>supporting scaleable validation.
>  
>
I am very interested in this.  Any more details (or anyone else who had 
to implement something to
cope with scale)?

Cheers
Rick Jelliffe



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf