[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

cdata

Subject: cdata
From: Mike Stroud <stroudmw@xxxxxxxxx>
Date: Fri, 13 Feb 2009 09:57:39 +0200
 cdata
Hi again everyone,

First of all, many thanks for the help I received with my substring query!
My next query regards cdata. I start with this:

<?xml version="1.0" encoding="Windows-1252" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes" method="xml"
cdata-section-elements="Description Longdesc"/>

I have 2 fields "Description" and "Longdesc" that I want in cdata as
they contain odd characters. Is there an easy way of copying the
entire XML file so that those 2 fields are translated into cdata? I
don't want to go through the entire XML file line-by-line.

Many thanks,

Mike.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.