如何使用样式表获取节点 [英] How to Fetch the node using stylesheet

查看:70
本文介绍了如何使用样式表获取节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有以下格式的xml

Hi All,

I am having xml in following format

展开 | 选择 | 换行 | 行号

推荐答案

XPath 将为您提供节点。





我写了下面的xslt但它没有给我返回所需的输出

Hi,

I have written following xslt but it is not returning me the required output

展开 | 选择 | Wrap | 行号


没有< Data>这样的元素在你的XML中出现


,你的XML中没有可见的数据,所以你看不到(即使你成功选择了)节点
there''s no such element as <Data> present in your XML

further, there are no visible data in your XML, so you can''t see (even if you successfully selected) the node


这篇关于如何使用样式表获取节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆