Re: XML growing pains

Subject: Re: XML growing pains
From: Lou Quillio <quillio -at- gmail -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 31 Mar 2005 20:32:37 -0500


On Thu, 31 Mar 2005 18:57:46 -0500, Bill Swallow <techcommdood -at- gmail -dot- com> wrote:

> You must declare and define everything you intend on using in your
> DTD. Otherwise there's no point in validating your files.

That's right.

The XML won't validate until you've referenced a DTD that defines it.
Either (1) modify ` trapactions.dtd`, (2) include another DTD within
`trapactions.dtd` that declares anchor tags, or (3) reference a DTD
*in addition to* `trapactions.dtd` that declares anchor tags. You may
reference more than one DTD.

I don't know what `trapactions.dtd` is for, but if your documents will
routinely use the XHTML tagset, maybe you should cut the HTML stuff
from ` trapactions.dtd`, then reference both ` trapactions.dtd` and an
appropriate XHTML DTD. Let them do their jobs independently. Depends
on whether you control `trapactions.dtd`, and what else already
references it. Can be quite a mess if some genius before you tried to
make `trapactions.dtd` the end-all. Bad mistake.

Might want to eyeball the backslash in your `href` attribute value.
It's a special escaping character in XML. It may work in your current
environment (Windows, eh?) but fail elsewhere. Forward slash should
work anywhere.

LQ

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

WEBWORKS FINALDRAFT - EDIT AND REVIEW, REDEFINED
Accelerate the document lifecycle with full online discussions and unique feedback-management capabilities. Unlimited, efficient reviews for Word
and FrameMaker authors. Live, online demo:
http://www.webworks.com/techwr-l

---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- techwr-l -dot- com
Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.



References:
XML growing pains: From: jopakent
Re: XML growing pains: From: Bill Swallow

Previous by Author: Re: Technical Writing - What's the catch?
Next by Author: Re: Technical Writing - What's the catch?
Previous by Thread: Re: XML growing pains
Next by Thread: giving a toss about documentation (was RE: Academic Res...)


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


Sponsored Ads