[xslt] Re: Transforming RSS (")
- From: "R. Mattes" <rm mh-freiburg de>
- To: xslt gnome org
- Subject: [xslt] Re: Transforming RSS (&quot;)
- Date: Tue, 13 Dec 2005 13:08:54 +0100
On Mon, 12 Dec 2005 10:28:57 -0700, Andrew Shafer wrote:
>
> I'm using libxslt and libxml2 but I'm kinda new to xslt so this might
> seem like a dumb question.
>
> I am playing around with building an RSS reader.
>
> I get the xml
from where?
>and use xsl templates to create html.
>
> A problem is people often put " into the <description> tag, so at
> the end of the day the result is &quot;.
>
> Is there a common/best way to fix this?
Yes, your xml parser needs to deal with that :-)
Can you provide us with a _real_ sample?
My local testing reveals:
----------- file test.xml ---------------------
<?xml version="1.0" ?>
<description>
"Hi there"
</description>
-----------------------------------------------
$ xmllint test.xml
<?xml version="1.0"?>
<description>
"Hi there"
</description>
So, where's the problem?
Cheers, Ralf Mattes
> Regards,
>
> Andrew Shafer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]