javascript - best data structure for below xml of book in html -


data.xml:

<catalog abbrev="kjv" name="xyz">  <book num="gen">    <chapter num="1">      <page num="1">in beginning ...</page>      <page num="2">and earth .... </page>    </chapter>    <chapter num="2"><page num="1">.....</book>  <book>

i have create hierarchical structure user can navigate or down dynamically.

means first of have show title of book: attribute of book element when user click on book title see list of chapter..then next when click on chapter see verses list...then when click on particular verses see single verses...


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -