oNVDL indeed implements the NVDL dispatching part in XSLT 2.0 but that 
was thought to give an insight of how NVDL works and to show the 
similarities with the XSLT processing. There are some limitations of 
that implementation documented on the oNVDL page
The XSLT 2.0 implementation of NVDL dispatching does not implement in 
the current version 20070517 the following:

     * Point 8.6. Stage 4: Filtering of the combined sections (from the 
     * Support for cancelNestedActions
     * Support for included modes

Integrating that processing as an XProc pipeline would be an interesting 
exercise but I do not know XProc enough to assert if that is possible or 
not. The main issue will be to perform the validate actions on each 
fragment from a document like the sample below:

<?xml version="1.0" encoding="UTF-8"?>
<n:dispatch xmlns:n="">
    <n:validate schema="../schemas/xhtml/xhtml.rng">
       <html xmlns="">
             <title>Sample XHTML with embedded RDF</title>
             <h1>Sample NVDL usage</h1>
             <p>Sample XHTML with embedded RDF</p>
    <n:validate xmlns="" 
       <rdf:RDF xmlns:rdf=""
             <dc:title>Sample NVDL usage</dc:title>
             <dc:description>Sample NVDL usage showing the usage of RDF 
inside XHTML.</dc:description>
             <dc:publisher>Syncro Soft</dc:publisher>
                   <rdf:li>Schema languages</rdf:li>
                   <rdf:li>NVDL sample</rdf:li>
                   <rdf:li>XHTML and RDF</rdf:li>
             <dc:type>World Wide Web Page</dc:type>

I believe however that it will be a lot simpler and better to just have 
a p:nvdl step implemented with one of the available Java NVDL engines.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Received on Thursday, 25 September 2008 07:21:56 UTC