This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Another question about unresolved entities & XSL
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: Another question about unresolved entities & XSL
- From: "Jeff Greif" <jgreif at befree dot com>
- Date: Tue, 6 Jun 2000 15:38:47 -0700
- References: <7D70697C0E38D111B4FF080036B39A0301DED4EA@NTDEVEXC>
- Reply-To: xsl-list at mulberrytech dot com
If you can compose a regular expression for all unresolved entities, you
could use awk
or sed to remove them (and do the copy at the same time). This will work on
arbitrarily large files.
Jeff
----- Original Message -----
From: Laurie Mann <laurie.mann@ansys.com>
To: '|XSL' <xsl-list@mulberrytech.com>
Sent: Tuesday, June 06, 2000 10:04 AM
Subject: Another question about unresolved entities & XSL
> A few weeks ago, I asked if there was a way for XSL to
> ignore unresolved entities and was told no.
>
> How about this - is there a way to:
>
> copy everything in one file to another file
> delete any unresolved entity from the copied file
> run standard XSL scripts on the copied file
>
> without resorting to Emacs or Perl? I'm dealing with a really big
> file (so Emacs is painful) and I can't program (so Perl is right out).
>
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list