This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: cdata?
- From: Michael <mogmios at mlug dot missouri dot edu>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 17 Nov 2001 03:54:28 -0600 (CST)
- Subject: RE: [xsl] cdata?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> > How do you access cdata in XSL?
> CDATA sections are out of XPath data model and they are treated simply
> as text nodes.
>
> > So far I've been using just '.' but it seems to have problems when
> > cdata contains tags?
> CDATA stands for "character data", if you place markup data into CDATA
> it's probably poor design.
I mean that I seem to have trouble accessing my cdata "This is my" and
"text." from something such as this common lil structure:
<p> This is my <b> bold </b> text. </p>
Am I not supposed to format XML that way or am I just trying to access the
text in some incorrect way?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list