This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xml-stylesheet and vars
- From: Max Froumentin <mf at w3 dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 12 Aug 2002 17:58:01 +0200
- Subject: Re: [xsl] xml-stylesheet and vars
- Organization: W3C
- References: <001001c23e41$6b16ae00$6401a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
"Michael Kay" <michael.h.kay@ntlworld.com> 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