[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Process XHTML embedded in XML

Subject: Re: Process XHTML embedded in XML
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 1 Jun 2001 05:28:57 -0700 (PDT)
laurent vaills
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@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.

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.