这是添加第二个defaultFolderType
的正确方法吗?我刚刚在同一个Bracket中添加了第二个defaultFolderType
。我希望这是对的。有人能帮助我吗?
<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<Extent schema="TopEase 70A" docversion="1.0" partial="true">
<xsl:for-each select="csv/line">
**<Folder defaultFolderType="Influence" defaultFolderType="Resource">**
<contains>
<Resource>
<xsl:attribute name="IDENTIFIER">
<xsl:value-of select="Identifier"/>
</xsl:attribute>
<name>
<xsl:value-of select="Name"/>
</name>
<hasAdditionalValue>
<reference type="AdditionalValue">
<xsl:attribute name="FIND">rootOwner/SettingsFolder/AdditionalValueSetting[identifier='_FV']/AdditionalValue[name='<xsl:value-of select="Financial_Losses"/>']</xsl:attribute>
</reference>
</hasAdditionalValue>
<hasAdditionalValue>
<reference type="AdditionalValue">
<xsl:attribute name="FIND">rootOwner/SettingsFolder/AdditionalValueSetting[identifier='_SA']/AdditionalValue[name='<xsl:value-of select="Sanctions"/>']</xsl:attribute>
</reference>
</hasAdditionalValue>
</Resource>
</contains>
</Folder>
</xsl:for-each>
</Extent>
</xsl:template>
</xsl:stylesheet>