This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Process XHTML embedded in XML
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Process XHTML embedded in XML
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Date: Fri, 1 Jun 2001 05:28:57 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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>
</xsl:template>
</xsl:stylesheet>
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@skew.org 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.
Thanks.
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: http://www.mulberrytech.com/xsl/xsl-list
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list