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 &quot; into the <description> tag, so at
> the end of the day the result is &amp;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>
&quot;Hi there&quot;
</description>
-----------------------------------------------

$ xmllint test.xml

<?xml version="1.0"?>
<description>
"Hi there" 
</description>


So, where's the problem?

 Cheers, Ralf Mattes

 
> Regards,
> 
> Andrew Shafer


_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to