Re: [xsl] Replacing character entities

Subject: Re: [xsl] Replacing character entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 15 Feb 2005 16:37:52 GMT
Note &#13 is a character reference not an entity reference.

but running your posted stylesheet against your posted xml produces:

$ saxon c13.xml c13.xsl
<?xml version="1.0" encoding="UTF-8"?>
   <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>

   <p>ultrices nisl id orci. Curabitur id est. In eget mauris. Lorem
Praesent sollicitudin bibendum orci. Suspendisse potenti. Quisque nec

   <p>magna. Sed facilisis nonummy nulla. Aenean feugiat, ligula sit amet
rhoncus consectetuer, mi pede consectetuer neque, vitae gravida urna
diam ac massa. Lorem Aenean neque magna, gravida vitae, pellentesque
nec, aliquam a, risus.</p>



did you somewhoe run the input  through an xml parser twice (which would
cause your escaped newlines to get unescaped, and produce the output you


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread