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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format