if you have a document pipeline, you can have a prior stage where you use XSLT to unescape the characters.

Check out the XSLT FAQ pages,
  http://www.dpawson.co.uk/xsl/sect2/StringReplace.html
  http://www.dpawson.co.uk/xsl/sect2/N7240.html

simon

On Jan 12, 2005, at 6:02 AM, Alex Sergeyev wrote:

Hi AxkitUsers,

I runned axkit based www.petsyclopedia.com few days ago =)
Development in progress though...


I want to ask ** your advice in XSLT **. How do you think it'll be best to decode HTML strings escaped inside to XML document?

For example, I got fragment from Amazon webservices:

<Description>
        &lt;p&gt;Book about &lt;b&gt;dogs&lt;/b&gt;.
</Description>

I have no idea how it will be easier to dechip such HTML strings to
normal XML fragments... Could anyone advice something? (I don't
encouraged to use XSP because it will be less cacheable)...
[today I use primitive added to XML::LibXSLT function that parses
some tags and kicks off unknown, returning special string... I can't
return XML::LibXML::Nodelist object from such function as it is
written in ::LibXSTL docs.... it returns something broken always...]


BTW - if I may be added to http://axkit.org/wiki/view/AxKit/LiveSites somehow - let me know please =)


Thanks,

Alex.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to