什么叫不能用组件啊?不能用JXL?
解决方案 »
- struts2版本怎么区别这么大
- 使用SAAJ发送向WebService发送soap之后,返回的消息中文出现乱码
- WebService LIST和HASHMAP的问题
- 大家都用JDK什么版本的
- Struts1.x s:multibox 默认选中且不可编辑状态的设置??
- 关于视频转换为FLV的问题
- 自动去除在一指定时间段内的周六周日,计算剩余天数
- JBuilder开发JSP的怪问题,请帮忙
- 问个分页中的小细节的思路。。。。。。。。
- 关于LinkedBlockingQueue和ArrayBlockingQueue不同之处的疑惑
- Please help me, I have a server.java and client.java to test the file transmission on internet
- spring里用hql语句,如何取前几条记录。进来详细看一下,无论你是否能帮助小弟先谢谢了。
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="/hello-world">
<HTML>
<HEAD>
<TITLE>Hello-World</TITLE>
</HEAD>
<BODY>
<H1><xsl:value-of select="greeting"/></H1>
<xsl:apply-templates select="greeter"/>
</BODY>
</HTML>
</xsl:template>
<xsl:template match="greeter">
<DIV>from
<I><xsl:value-of select="."/></I>
</DIV>
</xsl:template>
</xsl:stylesheet>//Hello.xml
<?xml version="1.0"?>
<hello-world>
<greeter>An XSLT Programmer</greeter>
<greeting>Hello, World!</greeting>
</hello-world>//Hello.html
<HTML>
<HEAD>
<TITLE>sample</TITLE>
<script language="javascript">
var srcTree=new ActiveXObject("Msxml2.DOMDocument.4.0");//生成XML文档对象xmlDoc,xmlDoc中包含XML文档中所有元素和节点.
srcTree.async=false;//装载XML文档完毕后才开始处理下一步骤.
srcTree.load("hello.xml");//将XML文档装载到文档对象中,在内存中形成文档对象树.
var xsltTree=new ActiveXObject("Msxml2.DOMDocument.4.0");
xsltTree.async = false;
xsltTree.load("hello.xsl");
document.write(srcTree.transformNode(xsltTree));
</script>
</HEAD>
<BODY>
</BODY>
</HTML>