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: xml-stylesheet and vars


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]