!DOCTYPE TitleFile PUBLIC -//CarmenCorp//DTD Carmen//EN [
Instead of:
!DOCTYPE TitleFile SYSTEM carmen.dtd
The correct public identifier is different than the one I show. You
should know what the public identifier is for the Carmen DTD. If a
system identifier is used in the XML instance then the system identifier
will be used in place of a public identifier in the application.
In your structured Applications file (structapps.fm) the public
identifier is mapped to a system location. Something like this:
Public ID: -//CarmenCorp//DTD Carmen//EN
Filename: $STRUCTDIR\xml\carmen\carmen.dtd
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Bodvar Bjorgvinsson
Sent: Friday, March 09, 2007 9:36 AM
To: Rick Quatro
Cc: framers@lists.frameusers.com; [EMAIL PROTECTED]
Subject: Re: DTD Location
IIRC, and if you are talking about an XML document, you have to set
the path (can be relative) with the file name.
The following are samples from the XML 1.0 Recommendation
(www.w3c.org) on ENTITY:
-
Examples of external entity declarations:
!ENTITY open-hatch
SYSTEM http://www.textuality.com/boilerplate/OpenHatch.xml;
!ENTITY open-hatch
PUBLIC -//Textuality//TEXT Standard open-hatch
boilerplate//EN
http://www.textuality.com/boilerplate/OpenHatch.xml;
!ENTITY hatch-pic
SYSTEM ../grafix/OpenHatch.gif
NDATA gif
-
I think you can use the same convention as in the last example. After
all, this is an URI.
Hope this works for you, but I am not quite sure I remember things
correctly. It is a long time since I have worked with XML.
I'll have a look at it when I get home. I got my XML books there.
Bodvar
On 3/6/07, Rick Quatro [EMAIL PROTECTED] wrote:
Hello Framers,
I have a DOCTYPE declaration in an XML document:
!DOCTYPE TitleFile SYSTEM carmen.dtd
When I open the XML with FrameMaker, it attempts to find the DTD in
the same
folder as the XML file. In my application, I have the path set to the
DTD:
$STRUCTDIR\xml\carmen\carmen.dtd
Is there a way to get the parser to look in this location for the DTD,
instead of in the same folder as the XML file? I am using FrameMaker
7.2p158. Thanks in advance.
Rick Quatro
___
You are currently subscribed to Framers as [EMAIL PROTECTED]
Send list messages to [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
or visit
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com
Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.