xsl-list
[Top] [All Lists]

Re: [xsl] cdata

2009-02-13 03:13:57
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Stroud wrote:
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.

Google for “identity transform.”  Also, if you are thinking
“line-by-line” you aren’t thinking in XSL, and it will bite you later...

~Chris
- --
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
“All I ask of living is to have no chains on me,
 And all I ask of dying is to go naturally.” — Laura Nyro
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmVK6cACgkQGfhmdwB3wxlRKQCg1AIHWMnvSsx1tiU4mFo/E2lW
wgYAoKd5yuebiIi5oLJrE++AjVsltH7v
=aTJ5
-----END PGP SIGNATURE-----

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>