|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Replacing character entities
David, Thank you. I did not try it from the command line, I was using XMLSpy. Once I ran it from the command line it worked correctly. Thanks to Joris for the original solution. Jason On Tue, 2005-02-15 at 16:37 +0000, David Carlisle wrote: > 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 > ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








