RE: xsl self-documentation on the fly /feature request

Subject: RE: xsl self-documentation on the fly /feature request
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Mon, 26 Jun 2000 10:30:12 +0100
Jeni Tennison

>>I am trying to create xsl transformation templates with a feature that
>>documents that they have been applied (on an xml file) and 
>where they have
>>been applied (either node or line number in the text).  It 
>would be ideal if
>>this documentation could be in a seperate file that is a log 
>of all changes
>>in the original xml files.  
>
>This sounds like an interesting challenge! :)  

>The first thing I thought of was using saxon:output or xt:document to
>create your log, but the problem is that whenever you direct 
>output to a
>file, it overwrites that file (you can't just append to it), 
>which ruins
>that option as far as I can make out.

Is this a feature request?

<xt:document('file-name', 'append')....

I like that. Eric? Mike Kay? comments?
I don't 'think' it breaks any of the ideologies? Does it?
(but it does involve state, so perhaps yes it does)

Regards, DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread