XQuery for element disregarding parent?

You already give an answer yourself. You could write //cite to find all city elements. Alternatively you could also use /descendant-or-self::city, which is different from the first in a very subtle way, but will give you all city elements anyhow If you would like to limit the city elements to all with country as parent, you would write: //country/city.

Or if you would like to get city elements at a specific depth in a tree, write something like: city Good luck!

You already give an answer yourself. You could write //cite to find all city elements. Alternatively you could also use /descendant-or-self::city, which is different from the first in a very subtle way, but will give you all city elements anyhow.

If you would like to limit the city elements to all with country as parent, you would write: //country/city. Or if you would like to get city elements at a specific depth in a tree, write something like: ///city. Good luck!

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.

Related Questions