473,503 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SSI and XHTML

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
Jul 20 '05 #1
2 2402
Bob Paterson wrote:
Any suggestions/comments?


Just one: give us a URI ;-) (ok, two: give us example code)
--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #2
Anne van Kesteren <ma**@annevankesteren.nl> wrote in message news:<br**********@reader08.wxs.nl>...
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
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1639
by: Peter Rohleder | last post by:
Hi, I have a few simple questions in order to use modularized xhtml and getting it to work. A simple example may make this obviouse: Lets say we want to create a simple xml-file to reflect...
59
4685
by: Philipp Lenssen | last post by:
I've tested some of the new Nokia 6600 functionality. It ships with WAP2 and XHTML Support (it says). What it does is check the Doctype -- if it's not the XHTML Mobile Profile Doctype, but a...
32
4482
by: jp29 | last post by:
My take on problems composing, serving and rendering XHTML documents/web pages: 1. Typical conscientious web authors are producing XHTML documents (Web pages) that feature valid Markup and with...
16
7060
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
82
5608
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a...
2
2613
by: Joris Janssens | last post by:
I'm trying to write a program for validating XHTML 1.1-documents against the XHTML 1.1 DTD (which is actually the same as validating an XML-file) but I always get a "(404) Not found" error. This...
12
2395
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
11
4182
by: Tomek Toczyski | last post by:
What is the best way to attach a caption to an image in xhtml? I can attach a caption to a table by a "<caption>" tag but I would like to do sth similar to an image. How to do it in a natural...
11
3079
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a...
10
2043
by: Robert Huff | last post by:
Can someone offer suggestions why, on the same server (Apache 2.2.8), this works <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html lang="en-US"> <head> <link rel=stylesheet...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
382
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.