How might I go about including a ]]in a cdata tag? Since ]]>'s
normally close cdata's, ]]>, by itself, wouldn't work... 3 3170
yawnmoth schrieb:
How might I go about including a ]]in a cdata tag? Since ]]>'s
normally close cdata's, ]]>, by itself, wouldn't work...
<![CDATA[...]]>]]><![CDATA[...]]>
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
In article <11************ *********@57g20 00hsv.googlegro ups.com>,
yawnmoth <te*******@yaho o.comwrote:
>How might I go about including a ]]in a cdata tag? Since ]]>'s normally close cdata's, ]]>, by itself, wouldn't work...
You can't. CDATA sections are not a reliable way of escaping
arbitrary text, just a handy way of making hand-authored XML more
readable. If you need a reliable way to do it, forget CDATA and just
escape everything.
-- Richard
--
"Considerat ion shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
Johannes Koch wrote:
<![CDATA[...]]>]]><![CDATA[...]]>
Or break the sequence up across successive CDATA Sections, such as
<![CDATA[...]]]]><![CDATA[>...]]>
or
<![CDATA[...]]]><![CDATA[]>...]]>
Or, as noted, stop trying to use CDATA Sections and just escape
individual characters as needed.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gene.ellis |
last post by:
Good morning,
I am sure this will be a no-brainer for a lot of you. Put quite simply,
I am looking for a way do a search within a string for all of my HTML
tags. Once it finds those HTML tags, I will like to wrap some code
around it. For example:
<p /> ----> <!]>
<b /> ----> <!]>
<a href="someurl.html"> ----> <!]>
|
by: Donald Firesmith |
last post by:
I am having trouble having Google Adsense code stored in XSL converted
properly into HTML. The <> unfortunately become < and > and then
no longer work.
XSL code is:
<script type="text/javascript">
<!]>
</script>
<script type="text/javascript"
|
by: aragon |
last post by:
Hi all,
is it legal to use a fully-numeric string as "name" attribute for the
<select> tag in the XHTML standard?
E.g.:
<form action="action.php" method="get">
<select name="12345">
<option value="1">test</option>
</select>
|
by: bissatch |
last post by:
Hi,
I am currently writing a simple PHP program that uses an XML file to
output rows for a 'Whats New' page. Once written, I will only require
updating the XML file and any pages that use the XML file will get
their row content from there. The rows may look some thing similar to
this:
- Added <a>mailing list</a> functionality to <a>homepage</a>
- Competition winners announced, click <a>here</a>
|
by: Xah Lee |
last post by:
what does it mean when a style tag gives something like the following?
<style type="text/css" media="screen,projection">/*<!]>*/</style>
is this standard?
Xah
xah@xahlee.org
∑ http://xahlee.org/
| |
by: Mike |
last post by:
I am consuming a web service hosted by one of our clients. One of the
string properties of the object I am creating to pass to their web service
is called CustomerName. The XML they re receiving I just a standatd xml
elemnt:
<CustomerName>Joe Friday</CustomerName>
The client has told me that the customer name, Joe Firday, needs to have
CDATA tags around it:
|
by: Jake Barnes |
last post by:
I'm reading over this page:
http://wiki.script.aculo.us/scriptaculous/show/Usage
I'm struck by this code example
+++++++++++++++++++++++++++++++
3. Use
|
by: Peter Michaux |
last post by:
Hi,
I am experimenting with some of the Ruby on Rails JavaScript generators
and see something I haven't before. Maybe it is worthwhile?
In the page below the script is enclosed in
//<!]>
Is this trick grounded in any real information about HTML vs XHTML? I
|
by: =?Utf-8?B?QmlsbEF0V29yaw==?= |
last post by:
Hi,
I'm defining a report layout using an XML document, plugging data values
into fields before outputting the whole doc as an HTML page. I wrap each of
the data fields in CDATA section (in case the data contains reserved chars
like "&").
Currently, I perform a simple search-and-replace to strip out the CDATA tags
before outputting the document. It works but it's not as elegant or reliable
as I would wish. Is there a better way of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |