Jump to content

Need Help To Encode String In Xsl


sachinw

Recommended Posts

Hi,Can someone please help me to encode string in XSL.You can also suggest me any pointers on the same.I searched on net but dint get concrete way to encode string.Actually I want to generate password at XSLT level.The input xml has password element which will hold password in string, after applying XSLT it will encode that string and will send it for further processing.Thanks,Sachin.

Link to comment
Share on other sites

Hi Martin,Thanks for your reply.The requirement is I want to encrypt the string (plain text password) using XSLT and then will decrypt it at server.So if my password is - abcusing XSLT, I want to encrypt it as - @fdf34%# (using some key)and on server, I will decrypt above encrypted string to - abcPlease let me know if it possible.

I am afraid "encode string" is not a very precise description of what you want to achieve. XPath 2.0 has a function encode-for-URI. Whether that is the kind of encoding you want I doubt but you haven't told us any details.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...