title: Parsing xml with multi childs using jsoup
body: <p>I have an xml file that looks as follows - <a href="https://merhav.nli.org.il/primo_library/libweb/webservices/rest/primo-explore/v1/pnxs/xml/L/NNL_ALEPH21191127040005171?vid=NLI&amp;lang=iw_IL&amp;search_scope=Local&amp;adaptor=Local%20Search%20Engine&amp;inst=NNL&amp;showPnx=true&amp;jwtAsParam=eyJraWQiOiJwcmltb0V4cGxvcmVQcml2YXRlS2V5LU5OTCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJQcmltbyIsImp0aSI6IiIsImV4cCI6MTYwNDc2NDk2OSwiaWF0IjoxNjA0Njc4NTY5LCJ1c2VyIjoiYW5vbnltb3VzLTExMDZfMTYwMjQ5IiwidXNlck5hbWUiOm51bGwsInVzZXJHcm91cCI6IkdVRVNUIiwiYm9yR3JvdXBJZCI6bnVsbCwidWJpZCI6bnVsbCwiaW5zdGl0dXRpb24iOiJOTkwiLCJ2aWV3SW5zdGl0dXRpb25Db2RlIjoiTk5MIiwiaXAiOiI3OS4xODMuMTkyLjE1OSIsInBkc1JlbW90ZUluc3QiOm51bGwsIm9uQ2FtcHVzIjoiZmFsc2UiLCJsYW5ndWFnZSI6Iml3X0lMIiwiYXV0aGVudGljYXRpb25Qcm9maWxlIjoiIiwidmlld0lkIjoiTkxJIiwiaWxzQXBpSWQiOm51bGwsInNhbWxTZXNzaW9uSW5kZXgiOiIifQ.etSefGcY4oEvTaNTE4LlF-gJobvpoZQwSy6ClDlaOB3E5CSeYqSlFnJCJQ3ALjRbPHWUDZL8AuaRB9tBmt4HRA" rel="nofollow noreferrer">link</a>.</p>
  <p>I would like to get the title from it.</p>
  <p>In order to do so, I did the following:</p>
  <pre><code>Document bookDoc = Jsoup.connect( url ).parser( Parser.xmlParser() ).get();
  Node node  = bookDoc.childNode( 2 ).childNode( 3 ).childNode( 3 );
  </code></pre>
  <p>This returns me this:</p>
  <p><a href="https://i.stack.imgur.com/7Yr4C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Yr4C.png" alt="enter image description here" /></a></p>
  <p>Now I have 2 questions:</p>
  <ol>
  <li><p>Isnt there any simpler way to get this title instead of using all of these childNodes? My worry is that in some result the title wont exactly be at childNode(3) and all my code wont work.</p>
  </li>
  <li><p>How do I eventually get this title? Im stuck at this point and cant get the string of the title.</p>
  </li>
  </ol>
  <p>Thank you</p>