Re: [xslt] problem with special carater in CDATA (part 2)
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] problem with special carater in CDATA (part 2)
- Date: Wed, 12 Feb 2003 13:20:27 -0500
On Wed, Feb 12, 2003 at 06:26:04PM +0100, Arnaud Blancher wrote:
> I have a problem with special carater in CDATA
> for exemple
> <![CDATA[<]]><![CDATA[br />]]> in xslt
>
> become
> <br />
Normal,
> or i want <br />
That would be wrong. It's not the right way
> in old version of redhat i haven't this problem
>
> Daniel tell :
>
> >
> > There was a bug in the old version apparently and it has been fixed
> > since it's a correct behaviour.
> > If you want XHTML1 special formating, make sure your xsl:output ask
> > for xml output and to add the XHTML1 DOCTYPE system and public ID. I
> > let you check section 16 of the XHTML1 spec and the XHTML1 spec for the
> > correct system and public IDs.
>
> so, i'have change my xslt, but the problem is still here
> if you can help me.
Changing the xsl:output won't change <br /> into <br />
obviously !
Ask yourself why your stylesheets used <![CDATA[<]]><![CDATA[br />]]>
And try to think about my answer again before dismissing it !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]