Project

Profile

Help

Revision 276447a9

Added by Debbie Lockett 8 months ago

Fix documentation bug #4868

View differences:

src/userdoc/elements/xsl-elements.xml
3918 3918
                    output definition. For full definitions of these attributes, see the
3919 3919
                    corresponding <a class="bodylink code" href="../output">xsl:output</a> element
3920 3920
                    documentation.</p>
3921
                
3922
                <p>See <a class="bodylink" href="/extensions/output-extras">Additional Serialization
3923
                    Parameters</a> for descriptions of additional attributes supported by Saxon-PE
3924
                    and Saxon-EE on <code>xsl:result-document</code> and <code>xsl:output</code>.
3925
                    Any values specified on the <code>xsl:result-document</code> instruction
3926
                    override the values specified on the <code>xsl:output</code> declaration.</p>
3921 3927

  
3922 3928
                <p>Except for <code>use-character-maps</code>, any of these serialization attributes
3923 3929
                    may be an AVT, so the values can be decided at run-time. For any of these
......
3976 3982
                    Asynchronous processing of <code>xsl:result-document</code> is automatically
3977 3983
                    suppressed if tracing (using a <code>TraceListener</code>) is enabled.</p>
3978 3984

  
3979
                <p>The <code>xsl:result-document</code> instruction may also take the extension <a
3980
                        class="bodylink" href="/extensions/output-extras/serialization-parameters"
3981
                        >serialization parameter</a>
3982
                    <code>saxon:indent-spaces</code>. This attribute may be an AVT, so the values
3983
                    can be decided at run-time. Any values specified on the
3984
                        <code>xsl:result-document</code> instruction override the values specified
3985
                    on the <code>xsl:output</code> declaration.</p>
3986

  
3987 3985
                <p>The new XSLT 3.0 attribute <code>parameter-document</code> is first implemented in
3988 3986
                    Saxon 9.8.</p>
3989 3987
                
src/userdoc/extensions/serialization-params.xml
137 137
        
138 138
        <attribute name="saxon:newline" required="no">
139 139
            <desc>
140
                <p>Default value x10. Defines the string that is used by the text output method
141
                    to represent a newline. The Windows line ending x0Cx0A (CRLF) may sometimes be preferred
142
                to the default of a single newline character.</p>
140
                <p>Default value 10. Defines the string that is used by the text output method
141
                    to represent a newline. The Windows line ending x0Dx0A (CRLF) may sometimes be preferred
142
                    to the default of a single newline character, this can be specified using
143
                    <code>saxon:newline="&amp;#x0D;&amp;#x0A;"</code>.</p>
143 144
            </desc>
144 145
            <data-type name="string"/>
145 146
        </attribute>

Also available in: Unified diff