|
Re: import html in a document: msg#00127java.enhydra.xmlc
You have to import the nodes before you can append. Lookup importNode. On Monday 22 September 2003 07:40, Thorsten Möller wrote: > Hi, > > I have one question. Let's say there are two HTML files: > > a.html > ---------- > <html> > <head> > <title>blah</title> > </head> > <body> > <div id="contentTarget"><div> > </body> > </html> > > b.html > ----------- > <html> > <head> > <title>blah</title> > </head> > <body> > <div id="contentSorce"><p>text</p><!-- and any other tags --><div> > </body> > </html> > > Is it possible to include the whole content from the div tag with the id > "contentSorce" in b.html into the div tag with the id "contentTarget" in > a.html? > I tried > aHTML.getElementContentTarget().appendChild(bHTML.getElementContentSource() >) but it doesn't work. > > Thanks > Thorsten > > > > _______________________________________________ > XMLC mailing list > XMLC@xxxxxxxxxxx > http://www.enhydra.org/mailman/listinfo.cgi/xmlc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | import html in a document, Thorsten Möller |
|---|---|
| Next by Date: | Re: import html in a document, Jacob Kjome |
| Previous by Thread: | import html in a document, Thorsten Möller |
| Next by Thread: | Re: import html in a document, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |