On 5/14/06, G. Ken Holman <gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
At 2006-05-14 19:28 +0200, Jagdishwar (Jagsmiles) wrote:
>Is there any way, where i can specify in xsl, to preserve all the
>CDATA for all the elements of the source xml document.
No, the spec is quite explicit:
- Section 3.4 states elements= is a set of name tests
- Section 16 states cdata-section-elements is a set of qualified names
And note that using cdata-section-elements= one is not "preserving"
the CDATA section, only emitting a CDATA section ... there is no
awareness of any use of CDATA sections in the files that create the
source trees.
This is an important statement. Thanks a lot: CDATA elements are
emitted for the elements specified in cdata-section-elements
attribute.
(till now, i was thinking that, it preserves the "CDATA" if source
element has CDATA. which was not correct)
. . . . . . . . . . Ken
--
Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XSLT/XSL-FO training: Minneapolis, MN 2006-07-31/08-04
Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--
Kind Regards,
Jagdishwar,
Jagsmiles AT gmail DOT com
--~------------------------------------------------------------------
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--