|
Re: [xmlc] Headers and footers: msg#00011java.enhydra.xmlc
It happens using your replace() method. template.html --- <html> <head> <title>Template</title> </head> <body> <div>header</div> <div id="content"></div> <div>footer</div> </body> </html> --- content.html --- <html> <head> <title>Content</title> </head> <body> <div id="content"> This is my content. </div> Extra crap </body> </html> --- replace(templateHTML, templateHTML.getElementById("content"), contentHTML.getElementById("content")); output: --- <html> <head> <title>Template</title> </head> <body> <div>header</div> <div id="content"> This is my content. </div> Extra crap <div>footer</div> </body> </html> --- Surely that's a bug! Hope that helps... Erik --- Justin Akehurst <akehurst@xxxxxxxxx> wrote: > I'd like to see the Java code you have that exhibits > the problem > described, with both header and footer being sucked > into the dom > instead of just the header. > > -Justin > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [xmlc] Headers and footers, Erik Rasmussen |
|---|---|
| Next by Date: | Re: [xmlc] Headers and footers, Justin Akehurst |
| Previous by Thread: | Re: [xmlc] Headers and footers, Justin Akehurst |
| Next by Thread: | Re: [xmlc] Headers and footers, Justin Akehurst |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |