xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] copying CDATA section from xml


Subject: [xsl] copying CDATA section from xml
From: "NILESH PATEL" <jayganesh786@xxxxxxxxxxx>
Date: Thu, 08 Aug 2002 07:10:38 +0000


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




Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor