[cc lang=”actionscript3″]/*
/*
************************************************************
Developed by R.Arul Kumaran [
[email protected]]
for more code keep visiting [www.luracast.com/all/blog]
************************************************************
*/
#include “XMLNode-transformTags.as”
my_xml = new XML(“
URL for my Blog“);
fObj = {};
fObj.a = function(node) {
var aList = “”;
var attrib = node.attributes;
for (i in attrib) {
aList += ” “+i.toLowerCase()+”=””+attrib[i]+”””;
}
var tag = {};
tag.start = “
“;
tag.end = ““;
return tag;
};
//change all ‘a’ tag to a combination of font,u,a tags to highlight
trace(my_xml.transformTags(fObj,true));
/*
traces
‘
URL for my Blog‘
*/
[/cc]