Subject: Re: [xsl] Unparse-text() string contains ascii chars 29, 30 and 31 From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 19 Oct 2005 17:13:24 +0100 |
>>>>> "andrew" == andrew welch <andrew.j.welch@xxxxxxxxx> writes: andrew> I'm trying to process some data that's one long string andrew> delimited using ascii characters 29, 30 and 31 (which are andrew> apparently group, record and unit 'separator characters'). andrew> I can get access to the string using unparsed-text(), but andrew> when I attempt to process the string using any of the andrew> function eg: andrew> tokenize($str, '') andrew> or andrew> substring-before($str, '') andrew> ...the XML parser complains that these aren't legal XML andrew> characters (when the stylesheet itself is parsed). Well, they aren't in XML 1.0 but they are in 1.1. So if you edit the XML declaration, to specify 1.1, and if your parser supports XML 1.1, your home and dry. -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Unparse-text() string contain, andrew welch | Thread | Re: [xsl] Unparse-text() string con, andrew welch |
[xsl] Unparse-text() string contain, andrew welch | Date | Re: [xsl] Unparse-text() string con, andrew welch |
Month |