寻找xml所有标签

crystalbl 2003-11-26 04:21:47
xml:
<inputfield>
<caption>疑难流水号:</caption> <name>seesionNo</name> <maxlength>20</maxlength>
</inputfield>
在xsl:
我希望把inputfield中所有的标签定义为input 中的属性
并且用个写xsl比较方便的方法
...全文
44 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
crystalbl 2003-11-26
  • 打赏
  • 举报
回复
可是也许我不清楚以后的xml 中有几个类似于caption 的标签
adjoin 2003-11-26
  • 打赏
  • 举报
回复
<input>
<xsl:attribute name="name">
<xsl:value-of select="/inputfield/name"/>
</xsl:attribute>
</input>
其他类似

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧