Subject: Re: [xsl] 'Embedded' xml From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 20 May 2009 13:56:26 +0100 |
> I can only use EXSLT in my appliance I don't think exslt has a parse function, but anyway just not putting <?xml into the input would be a much better solution. Having <?xml mid file even if CDATA quoted can serve no possible purpose as the only reason it is ever needed is to specify the file encoding as the file is parsed from a stream of bytes into a stream of uniocde characters before being parsed as XML. But if you are taking the string from an XML document then you already have a stream of unicode characters that has been decoded using the encoding of the outer document so If you specify a different encoding here it can have no effect, other than to cause a parser to mis-read the data. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 'Embedded' xml, Bruno Domenici | Thread | Re: [xsl] 'Embedded' xml, Robert Koberg |
Re: [xsl] 'Embedded' xml, Bruno Domenici | Date | Re: [xsl] 'Embedded' xml, Robert Koberg |
Month |