XSL doesn't evaluate all items in a template tag
Bug #1759843 reported by
Blah
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ xsltproc blah.xsl blah.xml
<?xml version="1.0"?>
<span xmlns:fo="http://
For whatever reason, lxml only outputs the <span> tag while omitting the <a>, see test files attached.
>>> from lxml import etree
>>> xml = etree.parse(
>>> xsl = etree.parse(
>>> transform = etree.XSLT(xsl)
>>> etree.tostring(
b'<span xmlns:fo="http://
To post a comment you must log in.
lxml tries not to output non-XML when you ask it to output XML.
Call bytes() on the transformation result if you want the generated XSLT output as configured in the stylesheet.