Re: Inserting XML code into HTML source

Subject: Re: Inserting XML code into HTML source
From: "Bill Swallow" <techcommdood -at- gmail -dot- com>
To: "Moshe Kruger (AllWrite)" <moshe -dot- kruger -at- gmail -dot- com>
Date: Tue, 21 Aug 2007 09:10:38 -0400

Wrap the code in <pre> ... </pre> tags.

On 8/21/07, Moshe Kruger (AllWrite) <moshe -dot- kruger -at- gmail -dot- com> wrote:
> 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?

--
Bill Swallow
HATT List Owner
WWP-Users List Owner
Senior Member STC, TechValley Chapter
STC Single-Sourcing SIG Manager
http://techcommdood.blogspot.com
avid homebrewer and proud beer snob
"I see your OOO message and raise you a clue."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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.
http://www.DocToHelp.com/TechwrlList

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

---
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 http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


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
http://www.techwr-l.com/ for more resources and info.


Follow-Ups:

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

Previous by Author: Re: Front and Back matter in User Guides (where do you put the company contact info)
Next by Author: Re: Would like your opinion...(Reference to Related Documentation)
Previous by Thread: 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