我有一个像这样的xml文件.
<RootTag>
<Form>
<Section>
<Annex>
<Group>
<Label value = "Name"></Label>
<Text Value = "Enter Name"></Text>
</Group>
<Group>
<Label value = "Gender"></Label>
<Radio Value = "Male||Female"></Text>
</Group>
</Annex>
</Section>
</Form>
</RootTag>
Run Code Online (Sandbox Code Playgroud)
现在在我的xsl中,我必须检查标签是否是<Text>,<Radio>并<input>根据该结果生成标签.
有什么可以使用的<xsl:if>吗?喜欢<xsl:if test = 'node = <Text>'>