[lxml-dev] Avoiding DTD default attributes in XSLT

Chuck Bearden cfbearden at gmail.com
Thu Nov 13 21:13:41 CET 2008


xsltproc offers the '--nodtdattr' option to cause libxslt not to add
default attributes from the DTD to the output document when they
aren't present in the source document.  How can I achieve the same
effect when doing XSLT with lxml?

Thanks in advance for your help!
Chuck


More information about the lxml-dev mailing list