| | |
Special characters with XSLT
Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
I am using an XSL document to pretty print my RSS feed. However, special characters don't parse - they appear within the feed as and &
What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my understanding that & " < > should work by default but I need to do extra to work to map to a space.
What line(s) do I need to specify in my RSS and XSL XML documents in order to get these to work? It's my understanding that & " < > should work by default but I need to do extra to work to map to a space.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: May 2006
Posts: 6
Reputation:
Solved Threads: 1
I was reading up about that but I haven't tried it yet. What I'm most in need of is getting & to work, but from what I understand, it should by default? I'm using UTF-8 if that matters.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: May 2006
Posts: 6
Reputation:
Solved Threads: 1
sorry a space is and a single quote qould be
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
Â
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
'
Thank you for your help. I did some research and the following worked:
I replaced
[html]<xsl:value-of select="description" />[/html]
with
[html]<xsl:value-of select="description" disable-output-escaping="yes" />[/html]
I replaced
[html]<xsl:value-of select="description" />[/html]
with
[html]<xsl:value-of select="description" disable-output-escaping="yes" />[/html]
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
![]() |
Similar Threads
- Special Characters in C++ (C++)
- Special Character generation (Java)
- Handle unicode characters (Python)
- Inserting special characters & superscript (MySQL)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Trouble with SOAP and xslt
- Next Thread: Webservices Help
| Thread Tools | Search this Thread |
.htaccess 301 accept access alltop api authentication binarysecuritytoken blog card collaboration credit data development ebay email evernote flash google government highrise htaccess intel internet legal live netbeans patent paypal php podcast proxy redirect rss rssfeeds searchmonkey server service soap software swappingxmlfromflash swappingxmlnodes url web webservices webservicesecurity wiki wikipedia xerces xml xslt y!os yahoo ydn






