Poorly formatted examples in https://qt4cg.org/pr/718/xslt-40/autodiff.html#built-in-rule or https://qt4cg.org/pr/717/xslt-40/autodiff.html#capturing-accumulators

When reading the generated spec documents of pull requests like
https://qt4cg.org/pr/718/xslt-40/autodiff.html#built-in-rule or
https://qt4cg.org/pr/717/xslt-40/autodiff.html#capturing-accumulators,
it appears that XSLT example code is poorly formatted, particularly
spaces between start tag and attribute name seem to be swallowed, so see
something like

<xsl:accumulatorname="glossary-terms"as="map{xs:string,element(define)}"initial-value="map{}"streamable="yes"><xsl:accumulator-rulematch="define[@term]"phase="end"capture="yes"select="map:put($value,@term,.)"/></xsl:accumulator>



or

<xsl:map-entrykey="map:keys(.)"><xsl:apply-templatesselect="map:values(.)"mode="#current"/></xsl:map-entry>

and this is kind of hard to read.

Received on Monday, 25 September 2023 10:34:05 UTC