On Mon, Feb 04, 2002 at 05:35:46PM -0500, Terrence Brannon wrote:
: All of the below successfully turns a skeleton XML file into a
: full-fledged XML document.
: The lines preceded with *** are for email commentary purpose and
: not part of the files on my system.
: Now, when I request the skeleton file, it comes back as a a huge
: ream of text, but if you view source, all the XML-angle brackets
: are there.
: So, the question becomes why is this file not being recognized as
: an XML file?
Are you sending it back as type text/xml?
: <Location /sitelist>
: AxAddStyleMap application/x-pathscript
: Apache::AxKit::Language::XPathScript
: AxAddProcessor application/x-pathscript /sitelist/sitelist2.xps
: </Location>
:
: *** sitelist2.xps
: <% my $sites = `cat sites/*.xml`;
: $t->{sitelist}{pre} = "<sitelist>$sites</sitelist>";
: %>
:
: <%= apply_templates('/sitelist') %>
:
: *** sitelist2.xml
: <?xml version="1.0" encoding="ISO-8859-1"?>
: <sitelist>
:
: </sitelist>
* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]