[Home] [By Thread] [By Date] [Recent Entries]
howard chen schrieb:
I am converting a very large XML file to CSV (e.g. GB in size which can't fit into memory), I am not sure if it is the correct way to use XSL to do my job.
In any case, I'd reuse any CSV writing functionality that is available instead of trying to handle that part in XSL. So I have a Perl script call an XSL transformation which then calls back into the host language to use the CSV writing functionality bundled with Perl. So the role of XSL in this scenario is ancillary: gather values and pass them to Perl. <xsl:value-of select="perl:to-csv( $filename, @ID, my/Title, ... )"/> Michael
|

Cart



