[Home] [By Thread] [By Date] [Recent Entries]
Hugh Dixon wrote:
I would like to write a style sheet that writes/saves to multiple files. My concept is of a "document()" to which I can "assign"/send a variable. A separate document (and variable) could then be created for each file. I can organise myself to only have one file at a time, so there is no need to go back and add to files that have already been created. I believe this could be done using JavaScript, but to me, an XSL solution would be vastly preferable. The solution is targeted to run on the Microsoft parser, which may, or may not restrict the options!!! If you are on Microsoft .NET XSLT engine, you can use MultiXmlTextWriter [1] class or nxslt [2] command line utility, both support exsl:document [3] extension element. [1] http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=eb428879-da33-42fc-9e9b-a8c0ed5f5452 [2] http://www.tkachenko.com/dotnet/nxslt.html [3] http://www.exslt.org/exsl/elements/document/index.html -- Oleg Tkachenko http://www.tkachenko.com/blog Multiconn Technologies, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



