This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
copying CDATA section from xml
- From: "NILESH PATEL" <jayganesh786 at hotmail dot com>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Thu, 08 Aug 2002 07:10:38 +0000
- Subject: [xsl] copying CDATA section from xml
- Reply-to: xsl-list at lists dot mulberrytech dot com
Dear friends,
I have a small xml document which basically containes standard output by
running native command on java and it only containes simple text in CDATA
section as shown below in XML. However I don't know how to write xsl to grab
all the details of CDATA section and write out in text format. Please help.
If any questions then please let me know. Looking forward to resolve this.
XML:
=====
<?xml version="1.0" encoding="UTF-8"?>
<root checksum="ywQRKQc5robK9LNymrCZvjKq+aE=">
<stdout checksum="UZpsnQAF47tWudXq1fbkx5XoHug=">
<![CDATA
[===========================================================================
Table
Proto Local Address Foreign Address State
TCP 127.0.0.1:xxxx 127.0.0.1:xxxx ESTABLISHED
TCP 127.0.0.1:xxxx 127.0.0.1:xxxx ESTABLISHED
]]>
</stdout>
</root>
XSL:
====
DON'T KNOW YET, Any suggestions , please?
OUTPUT/TEXT: (Required-Whatever is there in CDATA section)
=========================
========================================================================
Table
Proto Local Address Foreign Address State
TCP 127.0.0.1:xxxx 127.0.0.1:xxxx ESTABLISHED
TCP 127.0.0.1:xxxx 127.0.0.1:xxxx ESTABLISHED
Thanks in advance.
Nilesh Patel
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list