This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]