I have an XSLT file and in this file there are statements <xsl:value-of select = "."/>
Can anyone tell me what does select = "."
mean?
Definition and Usage. The <xsl:value-of> element extracts the value of a selected node. The <xsl:value-of> element can be used to select the value of an XML element and add it to the output.
The XSLT <xsl:value-of> element is used to extract the value of selected node. It puts the value of selected node as per XPath expression, as text. <xsl:value-of. select = Expression. disable-output-escaping = "yes" | "no">
The <xsl:value-of> element is used to extract the value of a selected node.
If I remember correctly select="xpath/selector"
hence <xsl:value-of />
will yield the value at the described xPath.
As described here .
selects the current node much the same way as .
selects the current folder in a file system path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With