For example, to extract the price field from a product and save it as a distinct XML node inside the product’s node, an appropriate pattern can be defined using the “price” handle and the “Self” option where its parent pattern is set to the “Products” pattern.
I have seen patterns like "There is X and Y, where X is ....". But in my case it is like "There is X and Y, where W is the ...". Is where applicable even if the clause after it has no reference to the other details? What is the grammatical role of "where" here?
However, in my sentence its parent pattern means the parent of the pattern that is defined in this way (by using "price" handle and "Self" option.
Are there other ways so I can add the detail shown in bold?