RE: serialization question
Hi Agnes and Oleg. Ssi are comments (<!-- --> pairs) and are treated like comments by xml parsers (that is what is called when you set output method="xml"), ssi only have special meaning to html parsers (not all parsers, but those that suport server side), asp parsers and alike. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Oleg Tkachenko Sent: Thursday, November 14, 2002 10:11 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: serialization question Agnes Kielen wrote: > I''ve created a stylesheet for a html-page with Server Side Includes. > Statements like: #include file="ssi/header.ssi" are transformed into: > . > > I tried my output file at the server and found some strange thing. > When I created the file with the server did not inclued ssi-files, > but when the transformation was done with there was no problem. My > files were included was as expected. Can anybody explain the reason > for this. I guess mime types may have something to do with it. Chances are your server is smart enough and is not trying to process ssi in xml documents. But if you are producing html pages with ssi why do you want to set xml output method? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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