javascript - site(using xml and xslt) is not opened in IE11 and mozilla but works in IE8. Please suggest the code of these files to get it worked in mozilla -


i beginner in xml , xslt kindly help.

this code works fine ie4 , ie8 not in mozilla , ie11. no error thrown site diaplays in text ##

xml code given in image

xsl file code given in below image

in stylesheet, remove xmlns="http://www.w3.org/tr/xhtml1/strict". not belong in there puts result elements in namespace not defined w3c , therefore not known browsers. result html anyway , not xhtml (which use if wanted need make sure element , attribute names in lower case letters , namespace xmlns="http://www.w3.org/1999/xhtml").

so removing xmlns="http://www.w3.org/tr/xhtml1/strict" best option.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -