js xml,该如何解决

js xmlnodelxmlDoc.createAttribute( introduction )node1.text asdf ~~~或者value都不能实现请问

js xml
nodel=xmlDoc.createAttribute( "introduction ");
    node1.text= "asdf ";~~~或者value都不能实现请问该如何做
    xmlDoc.documentElement.firstChild.attributes.setNamedItem(nodel);
    alert(xmlDoc.xml);

[解决办法]
是因为数字 "1 "和字母 "l "是不同的...