in the xsl file I have an XSLT file and there are Instructions in this file ...">

Which means <xsl: value-select = "." / "> in the xsl file

I have an XSLT file and there are <xsl:value-of select = "."/> Instructions in this file

Can someone tell me what select = "." Means ?

+4
source share
2 answers

If I remember select="xpath/selector" correctly, then <xsl:value-of /> will give the value in the described xPath.

As described here . selects the current node just like . selects the current folder in the file system path.

+4
source

"" Current node value - this value depends on which template or xslt command is processing.

0
source

Source: https://habr.com/ru/post/1497070/


All Articles