2017-03-04 28 views

回答

0

改造它只是在xslt的顶部添加名称空间,并获得所需的结果

<xsl:transform 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
     xmlns:sdk="http://schemas.android.com/sdk/android/addon/7" 
     version="1.0"> 

     <xsl:template match="@*|node()"> 

       <xsl:copy> 
         <xsl:apply-templates select="@*|node()"/> 
       </xsl:copy> 

     </xsl:template> 
     <xsl:template match="sdk:license"/> 

</xsl:transform> 
+0

谢谢这么多@Rupesh –