Re: [xslt] Functions for fetching file list



On 17 Jul 2001 12:21:53 +0800, crispin@iinet.net.au wrote:
> Hi,
> 
> I need during processing an XML document with an XSLT sheet to gather a list of all the files that were needed in the process. 
> 
> If you use xsltproc like this
> 
> xsltproc -v test.xsl welcome.xml
> 
> in the output you get the following lines
> 
> parsed 3 templates
> Initializing keys on welcome.xml
> Registering global variables
> Registering global variables from test.xsl
> Registering global variables from theme.xsl
> 
> Which are the three files used. xsltproc uses xsltSetGenericDebugFunc(stderr, NULL); to pipe that info to stderr. 
> 
> I would like however, to get this information more directly. What is the best way of doing this?

Create your own input callbacks, and get the information from there.

Matt.





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