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

Re: Can't output CDATA section

Subject: Re: Can't output CDATA section
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Wed, 07 Jul 2004 08:35:37 -0600
xslt copy cdata section
Hey Robert...

Robert Soesemann wrote:

How can I get the content of the CDATA section of this node?

<option3link><![CDATA[javascript:objDialogBox.dlgReset();moduleFocus=old
ModuleFocus;]]></option3link>

The use of

This should work so Im guessing you are not in the section of the document you think you are when you call value-of... try just using "." if you are in the context of the "option3Link".

<xsl:value-of select="option3link"/> or

This is invalid. "." is a self reference to the value of the current node so this will at best do nothing and most likely throw an error in your stylesheet.
<xsl:copy-of select="option3link/."/>

doesn't work?

Try using <xsl:value-of select="."/> as I suspect this is probably where your hang up is, but im just guessing without seeing more source...




Help??? ;-)Please.

Let me know if this doesnt fix it...


Regards,

<M:D/>

Thanks Robert


--+------------------------------------------------------------------
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@xxxxxxxxxxxxxxxxxxxxxx>
--+--


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.