[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:param and replace.xsl

Subject: RE: xsl:param and replace.xsl
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 14 Dec 2001 10:03:40 -0000
replace xsl
> > An XSLT processor produces a result tree from a source tree.
> > The source tree
> > is immutable. It would be possible in principle for the
> > serialized result
> > file to overwrite the original serialized input file, but I
> > can't see a good
> > reason for wanting to do that, and many good reasons for
> not doing it.
>
> I've just spent the last week doing that in a python program.
> Requirement was to convert an e-book from version x to version y.
> Needed all the same filenames, variant (transformed) content.
>
> rename original to .bak
> transform xxx.bak to xxx.xml
>
> 'transformInPlace' was the function name.
>
> That's the use case anyway.

Well, I spent many years of my life using an operating system with versioned
filestore, where you would naturally have done a transformation from file X
to file X, with the implicit meaning that you were creating a new version.
So it seems natural to me too. But unfortunately we're all stuck with using
1960s operating systems nowadays.

Mike Kay


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.