[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] cdata?

Subject: RE: [xsl] cdata?
From: Michael <mogmios@xxxxxxxxxxxxxxxxx>
Date: Sat, 17 Nov 2001 03:54:28 -0600 (CST)

> > 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

Current Thread