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]
Other format: [Raw text]

RE: xsl:param and replace.xsl


> My objective is to use the xsl stylesheet to replace text in a xml
> document without creating a new document. 

Egads, think!

Do you really want to start clobbering your input document before you know
you have a valid output document?

What if your system blows up half way through the process?  Can you live
with a document that is half transformed?

Even more basic, how is the system, in general, supposed to read and write
the same document at the same time?  

Write out a new document.  When everything is done, delete the old document,
rename the new document.


 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]