Xslt帮助 [英] Xslt Help

查看:57
本文介绍了Xslt帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将节点值转换为小写???

我有

< xsl:当test =" // @ locationName =''xyz' '">


我必须在xslt页面中将locationName转换为小写。

我可以使用toLower函数吗?


我是XSLT新手,请帮忙...

How to convert a node value to lowercase???
I have
<xsl:when test="//@locationName =''xyz''">

I have to convert the locationName to lowercase in the xslt page.
Can I use the toLower function?

I am new to XSLT, Pls help...

推荐答案




是你可以用toLower。你知道如何获得改变案例所需的价值吗?


/ MK
Hi,

Yes you can use toLower. Do you know how to get the value you need to change the case for?

/MK






是的,你可以使用toLower。你知道如何获得改变案例所需的价值吗?


/ MK
Hi,

Yes you can use toLower. Do you know how to get the value you need to change the case for?

/MK



Mark Mark,


感谢您的回复。


不,我不知道如何获得价值..请问我能告诉我怎么做?

Hi Mark,

Thanks for replying.

No, I dont know how to get value.. Can u pls let me know how to get?





这是Marko,但没关系....: - )


在您的情况下,如果我理解正确,您想获得属性的值? 将帮助您了解你应该怎么做。


迟早你可能想要得到一个元素的值,这个是你想要阅读的内容,以便了解它是如何完成的。


如果您需要更多帮助,请告诉我。


/ MK
Hi,

It''s Marko, but it''s ok.... : - )

In your case, if I understood in correctly, you want to get the value of an attribute? This will help you to understand how you should do that.

Sooner or later you will probably want to get the value of an element, this is what you would want to read in order to see how that''s done.

Let me know if you need more help.

/MK


这篇关于Xslt帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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