← Prev in month ← Prev in thread

1.1 schema. text:p recursion

From
Dave Pawson <>
Date
2008-07-10T10:23:45+00:00
ID
Thread
1.1 schema. text:p recursion
<element name="text:p">
        <ref name="paragraph-attrs"/>
        <zeroOrMore>
            <ref name="paragraph-content"/>
        </zeroOrMore>
    </element>

then

<define name="paragraph-content" combine="choice">
    <element name="text:span">
        <optional>
            <attribute name="text:style-name">
                <ref name="styleNameRef"/>
            </attribute>
        </optional>
        <optional>
            <attribute name="text:class-names">
                <ref name="styleNameRefs"/>
            </attribute>
        </optional>
        <zeroOrMore>
            <ref name="paragraph-content"/>
<!-- recursive -->
        </zeroOrMore>
    </element>
</define>

Was it the intent that this recursion be included in the model?

regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
← Prev in month ← Prev in thread