[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] transformNode
Hi, I could successfully apply the above-mentioned method from a DSO (an XML data island) to an instance of XMLDOMDocument object when using IE5 beta but when I try to apply it to the IE5 production version, I get error ("Object doesn't support this property or method"). The code I use is as follows (it is meant to apply the XSL style sheet to the XML DOM document on-the-fly): p_sNewXML = xmlDOM.TransformNode(frm.FrameName.XSLStyleSheet.XMLDocument); where: - xmlDOM is an instance of XMLDOMDocument (created using ActiveXObject("microsoft.xmldom") method) - XSLStyleSheet is the id of the data island whose SRC is the XSL script accessed via the frame notation "frm.FrameName"). The exact xml data island on the relevant frame looks like: <xml id=XSLStyleSheet SRC="../xsl/nav.xsl"></xml> Note1: the object "XSLStyleSheet.XMLDocument" is not regarded as an object while its properties are recognized (e.g. async, nodeType, nodename etc.) Note2: I use frame notations to access the DSO element (actually: "frm.FrameName.XSLStyleSheet") Regards, Behrouz M-Rouhani XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|