RNC sync

Dear,

Some modification on the rnc schema

Adding Try/Catch construct
Changing attribute @component in step to @type
removing empty definition in step
precising _any.attr to not include current namespace and local
keeping extended attributes in _any
adding a test.attr as xpath.expr
correcting definition of match to match match instead of select

moreover now that in/output have @port
the exemple in annexe is false

and should become

<p:pipeline name="fig2"
    xmlns:p="http://www.w3.org/2006/11/pipeline">
    <p:input port="source" sequence="no"/>
    <p:output port="result" step="xform" source="result"/>

    <p:choose name="vcheck" step="fig2" source="doc">
        <p:when test="/*[@version &lt; 2.0]">
            <p:output port="valid" step="val1" source="result"/>
            <p:step type="p:validate" name="val1">
                <p:input port="source" step="fig2" source="source"/>
                <p:input port="schema" href="v1schema.xsd"/>
            </p:step>
        </p:when>

        <p:otherwise>
            <p:output port="valid" step="val2" source="result"/>
            <p:step type="p:validate" name="val2">
                <p:input port="source" step="fig2" source="source"/>
                <p:input port="schema" href="v2schema.xsd"/>
            </p:step>
        </p:otherwise>
    </p:choose>

    <p:step type="p:xslt" name="xform">
        <p:input port="source" step="vcheck" source="valid"/>
        <p:input port="stylesheet" href="stylesheet.xsl"/>
    </p:step>
</p:pipeline>



Regards

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Tuesday, 28 November 2006 20:38:35 UTC