This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

copying CDATA section from xml



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]