英語 での The context node の使用例とその 日本語 への翻訳
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
The context node is Products.
With each Region element as the context node, the columns of data are then generated.
The context node is shown below the schema tree pane.
Child- XPath| MDN The child axis indicates the children of the context node.
In this case, the context node must be an element node. .
In the schema tree of the XPath Expression Builder, the context node will be highlighted.
Returns true if the context node matches the given languages.
Current- XPath|MDN The current function can be used to get the context node in an XSLT instruction.
The context node is the parent of Product, a node named Products.
The context node for the Auto-Calculation will be the identifier element.
The context node for the expression being built is highlighted in the schema tree in the pane at extreme left.
Descendant-or-self- XPath| MDN The descendant-or-self axis indicates the context node and all of its descendants.
The context node for the expression being built is highlighted in the schema tree in the pane at extreme left.
Since the chart has been inserted within the Data node, the context node for the For-Each expression is the Data node.
For the context node, it is best to select the immediate parent of the nodeset that will be used for the X and Y axes.
In the screenshot above, for example, the context node of the filter's XQuery expression is the Tracks node. .
The context node for these XPath expressions is set by dragging it from the source data tree and dropping it onto the chart control in the design.
Lang- XPath| MDN The lang function determines whether the context node matches the given language and returns boolean true or false.
Set the context node: The context node can be set to either:(i)the root node, or(ii) the current selection in the active document.
Do this via the buttons below the Sources pane.•The context node is that of the design component within which the expression is being created.
Note the following points about the Regional Yearly Sales charts: 1. The charts have been inserted within the Region element,so the context node is the Region element.
Note, however,that the XPath expression will need to be changed if the context node in the new location is not the same as that in the previous location.
In this case, the context node must be an element node. parent Indicates the single node that is the parent of the context node. .
In deciding where you want the formula to appear(as sibling or child),bear in mind that the context node of the formula's XQuery expression will bethe parent node of the formula.
In the screenshot below, the context node is n1:Department, and the n1:Person node has been selected as the node to be created as a table.
For example, in the XQuery expression shown in the screenshot above, the context node is the parent node of the formula(totalPrice) and of its sibling, the items array.
In the screenshot below, the context node is n1:Department, and the n1:Person node has been selected as the node to be created as a list.
It is important at this point to note the context node, which is the parent of the formula-and, consequently, the parent of the items node. .