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

Re: xml-stylesheet and vars

Subject: Re: xml-stylesheet and vars
From: Max Froumentin <mf@xxxxxx>
Date: Mon, 12 Aug 2002 17:58:01 +0200
Re:  xml-stylesheet and vars
"Michael Kay" <michael.h.kay@xxxxxxxxxxxx> writes:

> I never use the <?xml-stylesheet?> processing instruction. I don't think
> it's appropriate for an XML document to say how it should be processed.

Perhaps, but until there is an implemented mechanism to do that, we 
have to make do with xml-stylesheet. I would write a shell script
with sed, something like:


for i in `ls *.xml` do
  sed -e "s|/common/OBPRWebContent.xsl|/common/xsl/OBPRWebContent.xsl|" < $i >$i.tmp
  mv $i.tmp $i
done

sed works natively under Unix, and can run on Windows using cygwin.

Max.


 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.