Re: [xslt] xsl:include from other than real file?

On 20.01.2013 11:14, Lothar wrote:

I am thinking about embedded xslt templates or templates in databases. I have several stylesheets that include other stylesheets. Usually the are located in the file system.
Can I change the location from a file into a memory buffer and preload this buffer into the xslt processor to use that instead the real file (preload)?

Maybe using a hook to intercept the real loading process from file...

Thanks, Lothar

-- | Rapid Prototyping | XSLT Codegeneration |
Lothar Behrens
Ginsterweg 4
65760 Eschborn

xslt mailing list, project page
xslt gnome org

Hi Lothar,

you should be able to achieve this using a custom entity loader ( I haven't done this with libxml, but with java, but it should work all the same.



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