[xml] Re: standard dtd?!



it is not so easy i think, because i have tool's for my program like a
export-tool. this tool work without libxml and created me xml-files. So on
this pc where the tool runs, libxml is not installed and i don't have the
dtd files.
( and no internet :-(  )

so what i will is to use the xml-files from different pc's without i must
change it.
With catalog files it's the same thing, i don't know where the it stands on
the target pc when i create it on an other pc. Thus I could take also
dtd-files.

i will use my xml-file from different pc's, with different installations
wihtout using the internet!

?!


"Daniel Veillard" <veillard redhat com> schrieb im Newsbeitrag
news:20030728110637 C17377 redhat com   
On Sun, Jul 27, 2003 at 06:49:41PM +0200, Thomas Rokohl wrote:
how can i specify the dtd-file in my program and not in the xml-file?

  You should not.

Have you read the doc ?
  http://xmlsoft.org/guidelines.html
  use canonical URL
  http://xmlsoft.org/xmlio.html
  how to write you own entity loader
  http://xmlsoft.org/catalog.html
  the catalog solution

There is many way to do it cleanly, what you seems to do is one one
the wrong solutions to a common problem.

Daniel

--
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]