Re: Tenplates and subtree plugins
"David H. Young" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Organization | SAMBA Holdings, Inc. |
| Message-ID | <[email protected]> |
I wrote a whole section in the xmlc book on doing this... but you first must perform a cloneNode(). Great for building composite views. I have an illustration that demos this in my presentation at http://www.kspar.net/xmlcIntro.ppt on slide 24 (I believe). David Petr Stehlik wrote: > On Čt, 2003-08-21 at 06:54, Richard Keene wrote: > >> centerMiddle.appendChild(t.getElementMainContents()); > > >>It compiles and when I run it it says 'wrong document' > > > This is a FAQ, google must know it. You can't append a child from a > different document. > > Petr > > > _______________________________________________ > XMLC mailing list > [email protected] > http://www.enhydra.org/mailman/listinfo.cgi/xmlc > > . > -- David H. Young SAMBA Holdings, Inc. Chief Technology Officer 1730 Montano NW Albuquerque, NM 87107 505.797.2622 x113 http://www.samba.biz