I've
always wanted to know if there's a right way to do that myself. I've resorted to
using sed to obfuscate the entities before processing, then unobfuscating them
afterwards. For each file,
sed
"s/&\(\w*\.*\w*\);/%%\1%%/g" $file > $file.tmp1.xml
the
run the xsl on the file, then
sed
"s/%%\(\w*\.*\w*\)%%/\&\1;/g" $file.tmp2.xml > $file
It
seems like such a hack--there must be a better way.
David
|
- DOCBOOK-APPS: Keeping entities in a transformation Jeff Beal
- Re: DOCBOOK-APPS: Keeping entities in a transformation Camille Bégnis
- Re: DOCBOOK-APPS: Keeping entities in a transformation Dave Pawson
- RE: DOCBOOK-APPS: Keeping entities in a transformation David Cramer