Subject: | Support for XML Literals |
SUMMARY
XML::RSS really should support XML Literals for RDF 1.0, but I can't figure out how to add this without breaking the API.
DESCRIPTION
I am using XML::RSS to generate RSS 1.0 output from a web log. The blog is using xhtml and I'd like to include the raw xml (xhtml) in places like the item <description>.
RDF provides the XML Literal to support this. It is documented at http://www.w3c.org/TR/2004/REC-rdf-primer-20040210/#xmlliterals and what you need to do is to create output along the lines of:
<description rdf:parseType="Literal">
<p>This is my exciting content.</p>
</description>
I'm happy to hack the code (for 1.0), but does anybody have any suggestions on how to implement this without breaking the interface?