Subject: Re: [xsl] Replacing character entities From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 15 Feb 2005 16:37:52 GMT |
Note 
 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"?> <div> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p> <p> </p> <p>ultrices nisl id orci. Curabitur id est. In eget mauris. Lorem Praesent sollicitudin bibendum orci. Suspendisse potenti. Quisque nec tortor.</p> <p> </p> <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> <p> </p> <p> </p> </div> 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 state) David ________________________________________________________________________ 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: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Replacing character entit, Wagstaff, Jason | Thread | Re: [xsl] Replacing character entit, Wagstaff, Jason |
Re: [xsl] Replacing character entit, Wagstaff, Jason | Date | RE: [xsl] Selecting a node based on, Michael Kay |
Month |