Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Combine child sequences and bare names  RSS feed

Nancy King
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question regarding to XPointer.
The explanation for the above fragment is: It "uses a bare name to identify the seventh child of the second child of the document element by ID followed by a relative child sequence"(from "Essential XML quick reference").
I can't understand the above explanation. Why it is seventh child of secondchild? How to explain the number "3" in the fragment? How to know the bare name is section instead of section7?
Could someone please help me with that? Any helps are highly appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!