XSLT Attribute Matching With Namespaces -


I can not find a good description of why another example works here but not earlier:

   & Lt; Xsl: Select Value = "/ wsdl: Definitions / wsdl: Message / @name [$$ MessageName]" /> & Lt; / XSL: Templates & gt; & Lt; / XSL: stylesheet & gt;   

The context is finding a specific named message in the WSDL document. I suspect that there is something about enrollment about it that makes me travel with XSLT badly, but I do not understand why?

Can anyone uncover light on this for me? I do not like to experiment, get the solution, because it does not move forward.

The initial sections of WSDL are:

   & Lt; / Messages & gt; & Lt; Message Name = "Recovery Customer YtdRequest" /> & Lt; / Definitions & gt;    

There is no issue about namespace. Both expressions are correct and produce the expected results.

Believing a reference template for instructions (at least), you are trying to print text nodes with the first instruction wsdl: message given @ Name .

The second instruction will print the value of @name . this is right.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -