Forums / Developer / convert bloc xml to bloc text
Didier Kalulambi
Monday 11 October 2010 8:10:09 am
I need the javascript to convert the contents of a xml text block block
Heath
Monday 11 October 2010 3:25:38 pm
Hello Didier,
Could you explain more about your needs.
What do you need to convert an xml block to?
Cheers,
7x | https://se7enx.com/ Brookins Consulting | https://brookinsconsulting.com/ Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350 Solutions | https://projects.exponential.earth/users/community/brookins-consulting eZpedia community documentation project | http://ezpedia.se7enx.com
kracker
Monday 11 October 2010 3:49:11 pm
Why not just simply switch the content object class attribute from a ezxmltext datatype to a text block datatype attribute?
//kracker
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
Lo' F.
Saturday 16 October 2010 10:40:46 am
..do you mean from an xml block to a simple text block? If so, instead of javascript why don't you apply a |strip_tags() operator following your string?
If you really need a javascript, perhaps this link might be useful (http://www.stemkoski.com/what-is-javascript%E2%80%99s-equivalent-to-php-strip_tags/)
loredanaebook.it