RE: Inserting XML code into HTML source

Subject: RE: Inserting XML code into HTML source
From: "Margaret Hassall" <Margaret -dot- Hassall -at- computershare -dot- com -dot- au>
To: "Moshe Kruger (AllWrite)" <moshe -dot- kruger -at- gmail -dot- com>, <techwr-l -at- lists -dot- techwr-l -dot- com>, "Techshoret" <techshoret -at- yahoogroups -dot- com>
Date: Thu, 23 Aug 2007 10:03:36 +1000

You can use "cdata"

Have a look at the W3 schools:


-----Original Message-----
techwr-l-bounces+margaret -dot- hassall=computershare -dot- com -dot- au -at- lists -dot- techwr-l -dot- co
[mailto:techwr-l-bounces+margaret -dot- hassall=computershare -dot- com -dot- au -at- lists -dot- tec] On Behalf Of Moshe Kruger (AllWrite)
Sent: Tuesday, 21 August 2007 9:47 PM
To: techwr-l -at- lists -dot- techwr-l -dot- com; Techshoret
Subject: Inserting XML code into HTML source

Hello all,

I am creating HTML pages with code samples in them.

Problem: How do I insert XML code into HTML without resorting to special
HTML characters (eg: &lt; and &gt;)?

I am using Dreamweaver. I have found I can put the code into the Design
window, of course, and then get the awful HTML code that results.

Anyone have a "cleaner" trick?

(Cross posted to techwr-l and techshoret)


This email and any files transmitted with it are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged. If you receive this email in error, please advise us by return email immediately. Please also disregard the contents of the email, delete it and destroy any copies immediately.
Computershare Limited and its subsidiaries do not accept liability for the views expressed in the email or for the consequences of any computer viruses that may be transmitted with this email.
This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner.


Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more.

True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity!

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit

To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit for more resources and info.


Inserting XML code into HTML source: From: Moshe Kruger (AllWrite)

Previous by Author: RE: Flare and SharePoint
Next by Author: RE: Six elementary rules for writing good english
Previous by Thread: RE: Inserting XML code into HTML source
Next by Thread: RE: Inserting XML code into HTML source

What this post helpful? Share it with friends and colleagues:

Sponsored Ads