[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

SSI in XML

Subject: SSI in XML
From: "Joel Konkle-Parker" <jjk3@xxxxxxxxxxx>
Date: Wed, 12 Jun 2002 20:51:07 -0500
xml ssi
 
-----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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.