Subject: Re: xml-stylesheet and vars
From: Max Froumentin <mf@xxxxxx>
Date: Mon, 12 Aug 2002 17:58:01 +0200
|
"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
|