Re: Using w3.org namespaces when not on the internet

/ "Rachel Yellman" <rachel.yellman@digitalfocus.com> was heard to say:
| I am working on a application which uses XSL for data display; the
| application will not always have internet access.  The samples I have all
| point to the www.w3.org site to get namespaces and I don't know how to copy
| these to the local system so that they can be used when not on the internet.
| Here is my ns code:
| 
| <xsl:stylesheet version="1.0"
|   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|   xmlns:fo="http://www.w3.org/1999/XSL/Format">

You don't need to access anything from the W3C to use XSL. The namespaces
are just used for literal string comparisons inside the XSLT processor.

| Any suggestions would be appreciated.

When you really do need the data, for example to get the DTD referenced
in a system identifier or (some day) the schema (that may possibly be)
at a namespace URI, you can use catalogs and an entity resolver hook.

Arbortext has published some classes that I wrote for this purpose:

  http://www.arbortext.com/Think_Tank/Norm_s_Column/Issue_Three/issue_three.html

And I'm working on improved versions that are more flexible and offer
extended resolver functionality. But nothing's been published yet about
the updates. I'll make some sort of announcement when I can.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | "Bother", said Pooh, as he deleted his
http://nwalsh.com/            | root directory.

Received on Thursday, 20 July 2000 20:08:29 UTC