Home  >  Article  >  Web Front-end  >  Code for javascript to generate/parse dom's CDATA type fields_javascript skills

Code for javascript to generate/parse dom's CDATA type fields_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:14:351621browse
The two demo codes are as follows (for ie only):




//demo3(for firefox)


 TITLE >
Make firefox’s xml processing compatible with IE’s selectSingleNode selectNodes method



 
 SCRIPT > 
 HEAD > 

 

 BODY > 
 HTML > 

//demo4( cross brower)
http://kb.mozillazine.org/XPath
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn