' issue

This is a discussion on "' issue" within the Other Programming Languages section. This forum, and the thread "' issue are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Other Programming Languages

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Sep 20th, 2005, 02:12
New Member
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
' issue

Hi all,

I am going to come out strong with this pretty hairy problem (well I think it is).

I have a vbs page that calls objects from a database via XML. The XML stores apostrphe's (') as ' as it is supposed to but as HTML 4 won't recognise the entity, the objects come out with ' in the middle of them.

I have done research trying to find a solution for this problem and indeed there seem to be many solutions around using XML/XSL and php. However I am not able to change the XML/XSL file so it has to be done in the vbs - the problem being (and I may have this wrong) that you can't search for a substring of a string without iterating through each character.

I know I basically just need a function that takes the object searches for ' in the string, replaces it with &#39 and returns the object but I am unsure of how to search the string for the entity - and even if this will work in asp, it would be the first time I have gotten WAY off track. I am not really familar with the whole system this problem is affecting or with XML so any enlightenment you guys could give me would be greatly appreciated.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Sep 20th, 2005, 05:55
New Member
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Solved

Ah ok - Never mind all I have solved it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
apos, issue

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
css issue acrikey Web Page Design 16 Jul 25th, 2007 18:37
JS issue acrikey JavaScript Forum 6 Jul 25th, 2007 17:45
css issue acrikey Web Page Design 4 May 24th, 2007 16:01
Help Odd Issue? drappendix Web Page Design 8 Aug 9th, 2006 17:53
IE issue Pheonix Web Page Design 2 Dec 2nd, 2005 22:58


All times are GMT. The time now is 13:11.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved