Short answer : This selects the parent of the current (context) node Longer and more general answers : node()childnode1/@childid="51" This selects any node in the document that has a child element named childnode1 that has an attibute childid whose value is '51 One should try to avoid an expression that contains the abbreviation, because this may be very inefficient. Use '//' only when the structure of the XML document isn't known in advance Best answer : ExpressionSelectingTheChildNode.
Short answer: .. This selects the parent of the current (context) node. Longer and more general answers: //node()childnode1/@childid="51" This selects any node in the document that has a child element named childnode1, that has an attibute childid, whose value is '51'. One should try to avoid an expression that contains the // abbreviation, because this may be very inefficient.
Use '//' only when the structure of the XML document isn't known in advance. Best answer: ExpressionSelectingTheChildNode/..
You use .. to get the parent, like this: ../childnode1 so if you have some xml document like this: then the xquery //../d@id = "4" would return the c node with id of 3.
Your expression means: from all parents of decendant nodes (the same as all nodes having a child) a d child with id attribute equal to '4'. So, it's not what the OP is asking... – user357812 Sep 14 '10 at 21:04.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.