[xslt] Import/Include of Stylesheets



I am pretty confused now. I hooked up my own code to walk the DOM of a root stylesheet and to kick off loads of the child stylesheets. I get all of the documents parsed into xmlDocPtrs. What I found was that when I then called xsltParseStylesheetDoc, it didn't even try to do I/O, and it actually used the child documents I had loaded myself!

Does libxml actually have a global document cache? That's the only explanation I could come up with for why this would work. Do I even need the new docloader API?

dave

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