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 both the xml:lang
attribute and the lang
attribute, consistently.
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.