XML - Stylesheets - for removing schema info
-
hi all, I have created an xml dom document dynamically from ADO.save option.. and i hav cleaned the unnecesary schema info from that xml dom object by applying this style sheet... ******************************************* ************************************************ but it is giving output as : ************************************************ ************************************************ But i want the output as : ************************************************ ************************************************ any modification in stylesheet will help??? ... or can i use removeNamedItem to remove the attributes of the parent .. i.e For the node : Can i use... Element = objXML.documentElement.parentNode; Atts = Element.attributes; RemItem = Atts.removeNamedItem("xmlns:dt") ..ThanX for any help! Rgds ksm ksm
-
hi all, I have created an xml dom document dynamically from ADO.save option.. and i hav cleaned the unnecesary schema info from that xml dom object by applying this style sheet... ******************************************* ************************************************ but it is giving output as : ************************************************ ************************************************ But i want the output as : ************************************************ ************************************************ any modification in stylesheet will help??? ... or can i use removeNamedItem to remove the attributes of the parent .. i.e For the node : Can i use... Element = objXML.documentElement.parentNode; Atts = Element.attributes; RemItem = Atts.removeNamedItem("xmlns:dt") ..ThanX for any help! Rgds ksm ksm
<xsl:stylesheet exclude-result-prefixes="dt rs z"
"When the only tool you have is a hammer, a sore thumb you will have."