Hello,

I already have a XalanParsedSource and multiple XSLTInputSources.  I want to
transform my XalanParsedSource using each of the XSLTInputSources, while
each time feeding the result of the transformation into the next
transformation without touching the hard drive until the very end.  Here is
some pseudocode that should help to convey what I'm trying to accomplish:

        void ApplyXSLTCascade(
                        XalanParsedSource originalXPS, 
                        XSLTInputSource styleSheetsArray[],
                        char* fileName)
        {
                XalanParsedSource xps = originalXPS;
                for (each XSLTInputSource x in styleSheetsArray)
                {
                        xps = transform(xps, x)
                }

                if (fileName)
                        writeToFile(xps, fileName)
                else
                        writeToConsole(xps)
        }

As I mentioned, this unfortunately needs to be as-fast-as-possible and so
the program cannot touch the disk until after the last transformation has
been applied.  Does anyone have any ideas on how to do this?

~DPD
-- 
View this message in context: 
http://www.nabble.com/Applying-Multiple-XSLTs-%28In-Memory-Only%29-tp25389413p25389413.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to