[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] SSI in XML
-----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----- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|