[Home] [By Thread] [By Date] [Recent Entries]

  • From: Leigh Dodds <ldodds@i...>
  • To: xml-dev <xml-dev@x...>
  • Date: Thu, 29 Jun 2000 16:01:26 +0100



> -----Original Message-----
> From: owner-xml-dev@x... [mailto:owner-xml-dev@x...]On Behalf Of
> rsanford
> Sent: 28 June 2000 19:53
> To: xml-dev@x...
> Subject: newbie dtd question
>
>
> i generate an xml document on my client machine that as a fully-qualified
> path to the dtd on that client machine. i submit that document to
> my server
> application. the server application can't find the dtd because its copy is
> located somewhere else. what is the best way to resolve this issue?

Personally I think the best way to resolve this is to use a PUBLIC
identifier
rather than a SYSTEM identifier (which is what you're using I believe).

PUBLIC identifiers avoid the need to hard code path names into DOCTYPE
declarations.
Until recently there was no easy/standard way to achieve this in XML.

Norman Walsh has an article [1] on this, with some accompanying classes
which should
help you out further.

[1].
http://www.arbortext.com/Think_Tank/Norm_s_Column/issue_three/issue_three.ht
ml

Cheers,

L.


--
Leigh Dodds, Systems Architect       | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic |    sine necessitates"
http://www.xml.com/pub/xmldeviant    |     -- William of Ockham


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member