473,543 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ


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 2406
Bob Paterson wrote:
Any suggestions/comments?

Just one: give us a URI ;-) (ok, two: give us example code)
Anne van Kesteren
<http://www.annevankest eren.nl/>
Jul 20 '05 #2
Anne van Kesteren <ma**@annevanke steren.nl> wrote in message news:<br******* ***@reader08.wx s.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="Sideba r and Main content" width="759"
border="0" cellspacing="0" cellpadding="0" >
<td id="sidebar" valign="top" width="159" rowspan="2">
<!--#include virtual="/production/ssi/sidebar_ucc.ssi " -->
<!--#include virtual="/production/ssi/features_ucc.ss i" -->
<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&am p;S Home Page</a></li>
<li><a href="/msfund/givings.shtm">C urrent Donations</a></li>
<li><a href="/directgiving/home.shtm">Dire ct Giving</a></li>
<li><a href="/giftplanning/home.shtm">Gift Planning</a></li>
<li><a href="/enthusiasts/home.shtm">M&am p;S Enthusiasts</a></li>
<li><a href="/minutes/home.shtm">Minu tes for Mission</a></li>

The page itself may be found at ... if you do a view
source, you should find the code in question ... with the ampersands
changed ...

Hope this helps,
Jul 20 '05 #3

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

Similar topics

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 a faq-structure.
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 XHTML1.0 Strict one, the media-handheld CSS is _ignored_. Only with the Nokia Doctype, the CSS is used. I find this really annoying as it goes against the...
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 the content (MIME) type specified as text/html (http://keystonewebsites.com/articles/mime_type.php). These pages are then loaded on to their Server...
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"); MyDiv.appendChild(iframeObject); var data = "<html><head><title>testing</title></head><body>data</body></html>" iframeObject.contentDocument.open();...
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 year later then the first version of XHTML 1.0, the second edition is actually newer. Furthermore, XHTML 1.1 is not really the follow-up of XHTML...
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 is the program itself : ******************************************************************** using System; using System.Xml; using...
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.
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 way? -tt.
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 non-trivial exercise. inserting '&lt;' and '&gt;' causes the browser to write the text to the page as literal text rather than as the intended script element. ...
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 type="text/css" href="proj_default.css" title="ss_default"> <title>Testing html</title> </head>
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.