Re: [xml] libxml and Python segfaults



Well, nevermind -- I think. Boy, don't I feel stupid.

I was creating the stylesheet this way:

ss = libxml2.stylesheet("docname.xsl");

However, this way didn't segfault:

styledoc = libxml2.parseFile("docname.xsl")
ss = libxslt.parseStylesheetDoc(styledoc)

Now I can get my website done. Thanks for writing such a great library.
--
Dan Harrison
"Software doesn't have bugs; sometimes, it just generates random features."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]