Subject: Re: [xsl] Checking if a file exists From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 19 Apr 2024 00:36:03 -0000 |
On Thu, 2024-04-18 at 22:59 +0000, dvint dvint@xxxxxxxxx wrote: > I'm trying to stop the result-document() from writing to the file > more than once. Itbs an error to try, even if the file hasn't yet been written. One way round this might be to use fn:transform(0 to do your transformation - this returns the results from xsl:result-document in a map instead of writing them out, so you can process them at that time. Another approach might be to use xsl:iterate, passing a map or sequence of filenames you've processed as a parameter. liam -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Checking if a file exists, David Carlisle d.p.c | Thread | Re: [xsl] Checking if a file exists, Michael Kay michaelk |
Re: [xsl] Checking if a file exists, Michael Kay michaelk | Date | [xsl] Ignoring a DTD with document(, Mark Giffin m1879@xx |
Month |