logo       

Re: Tenplates and subtree plugins: msg#00020

java.enhydra.xmlc

Subject: Re: Tenplates and subtree plugins

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
XMLC@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise