XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 11th, 2003, 02:08 PM
rnsavvy rnsavvy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 rnsavvy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Error: elements containing dynmaic urls (w/ multiple variables)

I'm getting errors on any elements containing a dynamic url, although only urls with multiple variables...

<url>http://forums.devshed.com/forumdisplay.php?s=&forumid=19</url>

It says "A semi colon character was expected."

How can this be avoided? Thanks.

Reply With Quote
  #2  
Old July 11th, 2003, 04:04 PM
rnsavvy rnsavvy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 rnsavvy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It has something to do with the & symbol. My solution (hack) is to convert the & symbol to a ~ symbol so that the xml is valid, then switch it back in my xsl file.

Seems like this would be a common problem, but I can't find a solution.

Reply With Quote
  #3  
Old July 11th, 2003, 04:48 PM
rnsavvy rnsavvy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 rnsavvy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yeah, but I'm using XSLT to transform my data into an XHTML page and this won't link correctly when I try to insert into the href property of <a>.

URL would be chaging from... file.php?x=1&y=2

to... file.php?x1& amp;y=2


Does this require me to convert all occurences of "& amp;" back to "&" from within XSLT for the url to work?

Reply With Quote
  #4  
Old July 14th, 2003, 11:29 AM
rnsavvy rnsavvy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 rnsavvy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay, but I'll have XSL replace the & amp; anyways because I'm dealing with mobile devices and no assumptions can be made.

Thanks.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Error: elements containing dynmaic urls (w/ multiple variables)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway