RE: [xsl] why is the <p> preserved on one page and changed into &lt; on another page

Subject: RE: [xsl] why is the <p> preserved on one page and changed into &lt; on another page
From: Roelof Wobben <rwobben@xxxxxxxxxxx>
Date: Sun, 1 Jan 2012 18:41:53 +0000
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: [xsl] 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/ > >

Current Thread