HighDots Forums  

SSI and XHTML

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss SSI and XHTML in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default SSI and XHTML - 12-17-2003 , 07:38 AM






Hello,
I am using SSI files for a site. Included in the SSI file is text
content that includes characters such as the ampersand(&) and
copyright symbol. In my markup, I've converted these characters to
"&" and "©" (excluding the quotes, of course) yet when the
files display in a page, and when I do a View Source", these
characters are shown as "&" and the copyright symbol. I've tried
coding these characters with the number codes and the same thing
happens. However, if the same characters are used in code not
included in the SSI they remain as originally coded.

Normally I wouldn't be concerned, but I'm trying to write the pages to
conform to a transitional XHTML standard .. of course, the pages don't
validate because of the incorrect characters.

Any suggestions/comments?

Many thanks,
R.A. Paterson

Reply With Quote
  #2  
Old   
Anne van Kesteren
 
Posts: n/a

Default Re: SSI and XHTML - 12-17-2003 , 07:48 AM






Bob Paterson wrote:
Quote:
Any suggestions/comments?
Just one: give us a URI ;-) (ok, two: give us example code)


--
Anne van Kesteren
<http://www.annevankesteren.nl/>


Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: SSI and XHTML - 12-18-2003 , 11:37 AM



Anne van Kesteren <mail (AT) annevankesteren (DOT) nl> wrote

Quote:
Bob Paterson wrote:
Any suggestions/comments?

Just one: give us a URI ;-) (ok, two: give us example code)
OK, so I'm a trifle thick at times ... here is an axcerpt from the
page as it's coded with the SSI files:

<table id="content" summary="Sidebar and Main content" width="759"
border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="sidebar" valign="top" width="159" rowspan="2">
<!--#include virtual="/production/ssi/sidebar_ucc.ssi" -->
<!--#include virtual="/production/ssi/features_ucc.ssi" -->
</td>
<td id="pagetitle" width="600">

An excerpt from the SSI file with the code as intended is as follows:

<li><a href="#" onclick="toggle('ms'); return false;" title="Click to
open/close the Mission and Service Fund directory.">M&S Fund</a>
<ul id="ms" style="display:none">
<li><a href="/msfund/home.shtm">M&amp;S Home Page</a></li>
<li><a href="/msfund/givings.shtm">Current Donations</a></li>
<li><a href="/directgiving/home.shtm">Direct Giving</a></li>
<li><a href="/giftplanning/home.shtm">Gift Planning</a></li>
<li><a href="/enthusiasts/home.shtm">M&amp;S Enthusiasts</a></li>
<li><a href="/minutes/home.shtm">Minutes for Mission</a></li>
</ul>
</li>

The page itself may be found at
http://204.50.157.90/ucc/history/home.shtm ... if you do a view
source, you should find the code in question ... with the ampersands
changed ...

Hope this helps,
Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.