Subject: AW: nbsp fails transformation
From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx>
Date: Wed, 10 Aug 2011 09:03:10 +0200
|
Thanks, that helps !
. . . . . . . . . . . . . . . . . . . . . . . . . .
Patrick Szabo
XSLT Developer
LexisNexis
Marxergasse 25, 1030 Wien
mailto:patrick.szabo@xxxxxxxxxxxxx
Tel.: 00431 534521573
Fax: +43 (1) 534 52 - 146
-----UrsprC<ngliche Nachricht-----
Von: Jesper Tverskov [mailto:jesper.tverskov@xxxxxxxxx]
Gesendet: Mittwoch, 10. August 2011 09:02
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: nbsp fails transformation
An XML file containing is not well-formed, that is not XML,
unless there is a DOCTYPE defining that named entity.
If you need to transform such a file with XSLT 2.0 you must first load
it as text with the unparsed-text() function and replace with
  or   using Regular Expressions.
Unless you are allowed to edit the XML file and make an internal DTD
subset defining the named entity.
Cheers
Jesper Tverskov
http://www.xmlkurser.dk
http://www.xmlplease.com
|