摘要:
Generally most of the browsers transform XMLs in 2 ways, I mean two kinds of APIsFor IE serial browsers, we got xml.transformNode(xsl) It's pretty easy, but the disadvantage is that the result is pure text.Another way is supported by Mozilla, Opera, and Safari se...
阅读全文
posted @ 2008-07-04 21:31
yaoxing
阅读(166)
推荐(0)
编辑
摘要:
Considering the following piece of XSLT<xsl:template match="/uo_content/attractions/ride"> ...</xsl:template> How about if we want to get the "template" element from this document? var template = doc.getElementByTagName("xsl:template")[0] // <--It does wo
阅读全文
posted @ 2008-07-04 21:27
yaoxing
阅读(130)
推荐(0)
编辑