xsl:value-of select="." 什么意思?<?xml version="1.0"?> 
xsl:value-of select="." 什么意思?
<report> 
xsl:value-of select="." 什么意思?  
<title>Database Access Sample</title> 
xsl:value-of select="." 什么意思?  
<section> 
xsl:value-of select="." 什么意思?    
<title>Employees by Last Name</title> 
xsl:value-of select="." 什么意思?    
<dbaccess driver="COM.ibm.db2.jdbc.app.DB2Driver" 
xsl:value-of select="." 什么意思?      database
="jdbc:db2:sample" tablename="wstkadmin.employee" where="*" 
xsl:value-of select="." 什么意思?      fieldnames
='lastname as "Last Name", 
xsl:value-of select="." 什么意思?      firstnme as "First Name", workdept as "Department"' 
xsl:value-of select="." 什么意思?      order-by
="lastname" group-by="lastname, firstnme, workdept"/> 
xsl:value-of select="." 什么意思?  
</section> 
xsl:value-of select="." 什么意思?
</report>

xsl:value-of select="." 什么意思?<?xml version="1.0"?>
xsl:value-of select="." 什么意思?
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
xsl:value-of select="." 什么意思?    
<xsl:output method="xml"/>
xsl:value-of select="." 什么意思?    
xsl:value-of select="." 什么意思?    
<xsl:template match="*">
xsl:value-of select="." 什么意思?        
<xsl:element name="{name()}">
xsl:value-of select="." 什么意思?            
<xsl:for-each select="@*">
xsl:value-of select="." 什么意思?                
<xsl:element name="{name()}">
xsl:value-of select="." 什么意思?                    
<xsl:value-of select="."/>
xsl:value-of select="." 什么意思?                
</xsl:element>
xsl:value-of select="." 什么意思?            
</xsl:for-each>
xsl:value-of select="." 什么意思?            
<xsl:apply-templates select="*|text()"/>
xsl:value-of select="." 什么意思?        
</xsl:element>
xsl:value-of select="." 什么意思?    
</xsl:template>
xsl:value-of select="." 什么意思?    
xsl:value-of select="." 什么意思?
</xsl:stylesheet>

xsl:value-of select="." 什么意思?<?xml version="1.0" encoding="UTF-8"?><report> 
xsl:value-of select="." 什么意思?    
<title>Database Access Sample</title> 
xsl:value-of select="." 什么意思?    
<section> 
xsl:value-of select="." 什么意思?        
<title>Employees by Last Name</title> 
xsl:value-of select="." 什么意思?        
<dbaccess><driver>COM.ibm.db2.jdbc.app.DB2Driver</driver><database>jdbc:db2:sample</database><tablename>wstkadmin.employee</tablename><where>*</where><fieldnames>lastname as "Last Name",     firstnme as "First Name", workdept as "Department"</fieldnames><order-by>lastname</order-by><group-by>lastname, firstnme, workdept</group-by></dbaccess> 
xsl:value-of select="." 什么意思?    
</section> 
xsl:value-of select="." 什么意思?
</report>


指定的XPath是一个点号,表示当前节点本身,由于当前节点是XML元素,因此也就输出元素的文本内容,相当于输出XmlElement的InnerText 属性值。

相关文章: