Re: [xsl] How to escape invalid characters in XML to XML process

Subject: Re: [xsl] How to escape invalid characters in XML to XML process
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Apr 2002 17:21:44 +0100
> Can I do that in XSLT when I receive my input XML

No, because if the file contains invalid characters it is not XML and
so will be rejected by any XML parser and so never passed to XSLT (which
always uses an XML parser on its input).

You must arrange that the input to XSLT is well formed XML. How you
create the inout for XSLT is of course not really an issue with XSLT.
You could use a text stream editor such as perl, but I thought oracle
had an option to output as XML. In which case, by definition, there can
be no invalid characters.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread