问题描述
我想在XML中添加一个没有任何值的节点。 < XMLAuthenticateRequest> / XMLAuthenticateRequest>
然后我需要对整个XML进行数字签名,结果应该附加在节点中,XMLAuthenticateRequest'
但是当我尝试时,xml节点XMLAuthenticateRequest看起来坏了,当我试图将签名附加到XMLAuthenticateRequest时,我在前面得到一个空白值。
让我知道如何解决。
谢谢和问候
RK
I want to add a node in the XML without any value. <XMLAuthenticateRequest>/XMLAuthenticateRequest>
Then i need to make a digital signature of the whole XML and the result should be appended in the node ,XMLAuthenticateRequest'
But when i try, the xml node XMLAuthenticateRequest appears broken,also when i tried to append the signature in to the XMLAuthenticateRequest, i am getting a blank value in front.
Let me know how it can be resolved.
Thanks and Regards
RK
推荐答案
<XMLAuthenticateRequest>/XMLAuthenticateRequest>
with
with
<XMLAuthenticateRequest></XMLAuthenticateRequest>
或
or
<XMLAuthenticateRequest />
在html中,<
和>
始终是配对的。
这篇关于在XML中添加Null节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!