httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Viewing XML files directive (was RE: XML validation and Ant)
Date Thu, 01 Aug 2002 20:37:38 GMT

On Thu, 1 Aug 2002, Vincent de Lau wrote:
> The XML files are a kind of source files as well. Although you can look at a
> single XML file with a 'XML client' (like a web browser), the generated HTML
> references other HTML files. In an installation, this would mean that the
> XML files are useless and you would need an XSLT processor to read them. To
> overcome this, there are two options (Option three being a bit more work
> ;) ).

A couple things to think about:

- With MultiViews on, you can request documents with no extension at all.
We could possibly change the way we are linking so that we include neither
xml nor html in the links.  I like this idea, because it is good to link
to "content" rather than to a specific representation of content.  But I
don't think we are quite ready for this yet, because I there are browsers
out there (Mozilla, for one) that ask for XML in their Accept header, but
then barf when they get it.

- Some of the xml files are really not suited to real-time processing.
The major examples are mod/index.xml and mod/directives.xml.  Processing
these files requires the browser to read every single module file.
Obviously we can't have that happening on a regular basis.  One possible
solution is to process them into an intermediate xml representation, which
can in turn be processed real-time.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message