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?

*** httpd.conf

<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>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to