Re: [xsl] specifying an alternate XML catalog file

Subject: Re: [xsl] specifying an alternate XML catalog file
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 09 Oct 2007 11:12:20 -0400
Robert,

Strictly speaking I think your question is off-topic since it's about your environment and tools setup, not XSL per se.

But you are setting up your XSLT processor, so ...

You should research this on line; both standard XML catalog mechanisms (the older "SGML Open" catalog and the newer XML catalog) include ways for a catalog to call in additional catalogs. That could be a simpler and a more robust solution than wiring it into your environment.

Ultimately it's an xsltproc question (or its parser's) since that's what's using the catalog.

Cheers,
Wendell

At 10:50 AM 10/9/2007, you wrote:

  (it's been a while since i've posted here so i hope i can remember
what topics are on topic, and which ones aren't.)

  if i'm using xsltproc and i want to add an additional XML catalog
file to define some personal URI rewrites for includes, would the
environment variable XML_CATALOG_FILES need to be set to refer to
*all* catalog files i want to use?

  that is, with xsltproc, the default catalog is /etc/xml/catalog, so
to *add* an extra catalog, would i need to specify:

export XML_CATALOG_FILES="/etc/xml/catalog my-catalog-here"

as opposed to just the extra one?  it *seems* that way, but i just
want to make sure i'm reading it properly.  thanks.

rday

p.s.  i'm guessing that, as long as any of my local rewrites don't
conflict in any way with default ones, it doesn't make any operational
difference what the order of those two files is above, right?

--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread