Re: Can I use 'about:blank' as target document?
Jonas Sicking <[email protected]> Fri, 06 Apr 2007 15:44:28 -0700
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Michael Vincent van Rantwijk, MultiZilla wrote: >> That way you don't need to call .importNode on each of the nodes in >> the resulting fragment. That is the whole point of being able to >> specify a target document. > > Sure, but that won't work for people like me, who need to modify the DOM > after the transformation. You are free to modify the returned DOM. It's all yours and you can do whatever you want with it, including inserting it into a displayed document or ripping it apart. >> Since it sounds like you are getting the result you are expecting from >> the XSLT transform, you're just then having problems displaying those >> nodes, this is likely not an XSLT related problem. > > It is, sort of. It is a limitation for when the target document is > 'about:blank', but I can use it now (after I removed the first text > (rss/rdf) element/node from the source document). Good enough for testing. Well, you said the transformation succeeded, no? So everything after that is not XSLT code. But it sounds like you've gotten things to work so it's all good then. / Jonas