I read the word context
very often in the documents about XPath. I would like to get a conceptual idea about it and compare that with what I understand of it or its general meaning.
Currently, by context
I think of a set of nodes creating a scope in the hierarchical structure of XML.
for example
<doc>
<header>
</header>
<content>
<section1>
it is a good boy
</section1>
<section2>
this good is for export
</section2>
</content>
<footer>
</footer>
</doc>
In my own terms, for example //content/section1//*
is a context in which the meaning of "good" differs with its meaning in the context of //content/section2//*
I don't know how much it correspond to its meaning in the documents of XPath or XSLT,...