<?xml version="1.0"encoding="UTF-8"?>
<xsl:stylesheetxmlns:xsl="http://www.w3.org/1999/XSL/Transform"version="2.0">
    <
        <
</xsl:template>
    <
<Doc>
            <
                <
<Xpath>
<xsl:for-eachselect="ancestor-or-self::node()[.]">
<xsl:iftest="name(.)!=''">
                           <xsl:text>/</
</xsl:if>
<xsl:value-ofselect="name(.)"/>
<xsl:variablename="attr" select="@*"/>
<xsl:iftest="$attr!=' '">
                                <
                                    <
                                        
                                        <
                                        <
                                        <
                                        <
</xsl:if>
</xsl:for-each>
       
                </
            </
</Doc>
    </
</xsl:stylesheet>
No comments:
Post a Comment