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:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old October 28th, 2003, 02:14 PM
geoffgarcia geoffgarcia is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hunterdon, NJ
Posts: 67 geoffgarcia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 28 m 23 sec
Reputation Power: 5
Send a message via AIM to geoffgarcia Send a message via Yahoo to geoffgarcia
Syntax to include URL with &var=data

I'm working with a few XML files on my project (they generate the system messages) I'm new to XML and am having a difficult time figuring out how to include URLs in the XML code!

here is my xml code
it is failing on the lotus notes URL which is a simple url that seems to fail on the &var=data segment. How do I get around this?

PS the error I get is:
A semi colon character was expected. Error processing resource Line 10, Position 82


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "*">]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl: output method="html" encoding="ISO-8859-1" doctype-public="-//W3C/DTD HTML 1.0 Transitional//EN" />

<xsl:template match="/">
<html><head></head><body><a name="top" />
<blockquote>
WhoKnows? has added new terms to your profile for you to review
<a href="http://fpls.sb.com/CAST/SETFCommunity.nsf/0/FCCC4A68?OpenDocument&ui=portal">Click here to access community</a>
</blockquote>
<a name="bottom" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Reply With Quote
  #2  
Old October 28th, 2003, 02:35 PM
geoffgarcia geoffgarcia is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hunterdon, NJ
Posts: 67 geoffgarcia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 28 m 23 sec
Reputation Power: 5
Send a message via AIM to geoffgarcia Send a message via Yahoo to geoffgarcia
I swapped the & with &-amp; (without the - in there!)
which has taken care of the problem

Just my luck, I work on this issue for 3 hours, post a question, then figure it out for myself within 5 minutes

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Syntax to include URL with &var=data


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 6 hosted by Hostway