![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: using "this" in javascript/XHTML >Thread Next - Re: using "this" in javascript/XHTML Re: using "this" in javascript/XHTMLTo: NULL Date: 11/2/2004 2:36:00 PM
Mike Kamermans wrote:
> imnode = xmldoc.createElement('img');
If you want to create an XHTML <img> element in an XML document then you
need to use
innode = xmldoc.createElementNS('http://www.w3.org/1999/xhtml', 'img')
as you need to make sure the element has the proper XHTML namespace.
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
