Thomas. Element "stylesheet" is really "focus:stylesheet" which is a container of the XSLT stylesheet to be extracted.
I will send to you a sample document in private. Regards, Schimon On Tue, 2 Dec 2025 16:05:04 +0100 Thomas Krichel <[email protected]> wrote: > Schimon Jehudah via lxml - The Python XML Toolkit writes > > > <stylesheet> > > <xsl:transform version="1.0" > > xmlns="http://www.w3.org/2005/Atom" > > xmlns:xpath="http://www.w3.org/2005/xpath-functions" > > xmlns:xml="http://www.w3.org/XML/1998/namespace" > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <!-- CODE TRUNCATED --> > > </xsl:transform> > > </stylesheet> > > I suspect that this is not a stylesheet, because the <stylesheet> > element is not in the "http://www.w3.org/1999/XSL/Transform" > namespace. > _______________________________________________ lxml - The Python XML Toolkit mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/lxml.python.org Member address: [email protected]
