[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: why is the <p> preserved on one page and changed i
Thanks, After some more research I saw that one was html-encoded and the other not. So problem solved. Roelof ---------------------------------------- > Date: Sun, 1 Jan 2012 15:35:18 +0100 > From: Martin.Honnen@xxxxxx > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: why is the preserved on one page and changed into < on another page > > Roelof Wobben wrote: > > > And the input file of the wrong page : > > > <p>Hoera, het is zover, eindelijk zwanger. De test laat niets te twijfelen over. Ik ben net een stuiterbal, blij en energie voor tien. Ondanks het prille begin, heb ik een goed gevoel over deze zwangerschap. Waarom? geen idee. Het voelt gewoon goed. Het is moeilijk om s middags mijn mond dicht te houden als ik met mijn zus in de stad ben. Het is maar goed dat er een carnavalsoptocht is, het geeft een beetje afleiding.</p> > > > > > > So there the input already has the HTML markup escaped i.e. that "tekst" > element has a single text node child that contains markup while in the > other input sample the "tekst" element has "p" element child nodes. > > With XSLT if you really want to enforce that the escaped markup is > output as elements you need e.g. > > > > but be warned that disable-output-escaping is only supported if the XSLT > processor serializes the result tree. With client-side XSLT in > Firefox/Mozilla that is for instance not done and therefore > disable-output-escaping is not supported in that context. > > > > -- > > Martin Honnen --- MVP Data Platform Development > http://msmvps.com/blogs/martin_honnen/ > >
|
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
|