xsl-list
[Top] [All Lists]

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

2012-01-01 12:42:07

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(_dot_)Honnen(_at_)gmx(_dot_)de > To: 
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com > 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/ > > 
--~------------------------------------------------------------------ > 
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > To 
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ > or e-mail: > 
--~-- >
                                          
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--