Category Archive: cXML

Feb 02

Setting xml:lang with lxml

Unlike every other attribute I’ve run across, setting xml:lang kept failing with an ‘invalid attribute name’ error. After the jump is how I fixed it.

Continue reading »