This is a simple test, using the extract-literals transform, with XHTML input.
This document, uses a mixture of language tags.
All are declared using the lang
attribute, while none use the xml:lang
attribute.
This paragraph inherits language from the root element.
Questo fraso è scritto in italiano.
For any text string where both are in scope, the
xml:lang
takes precedence,
following the
XHTML Recommendation.