Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


get DOM Tree from transformation : partially solved

From: "VK" <schools_ring@-----.--->
To: NULL
Date: 1/4/2007 5:32:00 AM

VK wrote:
> Sorry, I did not mean to make this thread as a "Microsoft criticism" of
> any kind. I'm just upset that among dozens and dozens of MSXML methods
> there is not a single one for such trivia.

For anyone hitting the same problem: I stopped on a workaround using
virtual DOM element:
...
    var MSHTML = document.createElement('div');
    MSHTML.innerHTML = source.transformNode(XSL);
    return MSHTML.firstChild;
...

It is not a full-scaled hack like in Sarissa so it doesn't take care of
more complicated cases - a set of sibling elements, mal-formed fragment
and so on.
For my practical purposes though I fits well as it will be a
well-formed single parent out of a transformation (list, table, shape).
For such trivial cases it lets to bypass the IE's limitation with the
minimum overheat.



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent