[thelist] SSI in XML
Joel Konkle-Parker
jjk3 at msstate.edu
Wed Jun 12 22:27:08 CDT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For the design of my website (http://www.ballsome.com/test/), I
really need to have a Server-Side Include in an XML document. As of
my knowledge, however, my hosting service doesn't support that, only
SSI with HTML. The file that needs to be included is an automatically
generated text file with markup, news.txt. I've tried the following
things:
1. rename index.xml to index.html of type text/xml
didn't work, SSI parser apparently needs text/html
2. rename index.xml to index.html of type text/html
didn't work, mozilla needs it to be of type text/xml
3. add XML markup to the included file, then call with document() in
XSLT stylesheet
didn't work, cgi program erases all inserted markup with each update
to the news.txt file
4. make wrapper, news.xml, with news.txt as an external entity
reference so that it is inserted every time I type &news;
didn't work, mozilla doesn't support external entity references
5. rename XSLT stylesheet (home.xsl) to home.html of type text/xml
won't work, SSI parser needs type text/html
6. rename XSLT stylesheet (home.xsl) to home.html of type text/html
won't work, mozilla needs type text/xml
After all this, I've pretty much come to the end of my rope. Does
anyone have any suggestions at all?
Relevant files:
XML document: http://www.ballsome.com/test/index.xml
included file: http://www.ballsome.com/test/news/news.txt
XSLT stylesheet: http://www.ballsome.com/test/stylesheets/home.xsl
XML wrapper: http://www.ballsome.com/test/news/news.xml
- -joeljkp
- ---------------------------------------
http://www.ballsome.com
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPQf6in880CLOJa2eEQJpVACeMTyNLe7eI6xtOVkpPCGi+T6iVC8AnR4l
JlntA1SM3Lvhc7+Ck3qYq06m
=yvN9
-----END PGP SIGNATURE-----
More information about the thelist
mailing list