Re: [xsl] Process XHTML embedded in XML

Subject: Re: [xsl] Process XHTML embedded in XML
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 1 Jun 2001 05:28:57 -0700 (PDT)
It seems to me that using xsl:copy-of instead of xsl:value-of in your template
should solve your problem.

Dimitre Novatchev.

you wrote:
  <xsl:template match="caption">
        <font color="white"><i><xsl:value-of select="."/></i></font>


The only way to get content of caption element was to write it as a
CDATA (i.e. <caption><![CDATA[some <b>cool</b> text !!!]]</caption>.
(as described in a mail from mike@xxxxxxxx in august 2000)

What I want is :
1) get the content of caption without qualifying it as CDATA but using
xmlns, which I think is proper.
2) check the content I got is well formed in my xsl stylesheet.

Sorry for this long post.
Hope to describe my problem correctly.
If you want more information, please ask me.


PS : I'm using xalanJ 2.0.1
Laurent Vaills
Sun Microsystems (Grenoble, France) - Intern
Office Phone : +33 (0) 4 76 18 81 09

 XSL-List info and archive:

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!

 XSL-List info and archive:

Current Thread