title: How to fetch the Data from Recursive Inner Nodes from XML in XSLT
body: <p>I am trying to fetch the Inner Recursive nodes with same name data.
  below is my sample XML and i need output in the format</p>
  
  <p>**</p>
  
  <blockquote>
    <p>RegistrationIncludedProduct-43756.regPackagingHierarchyList-43767.regChildPackagingHierarchyList-43765.regChildPackagingHierarchyList-43763.regChildPackagingHierarchyList-43760</p>
  </blockquote>
  
  <p>**</p>
  
  <pre><code>&lt;agConnectXML&gt;
    &lt;SourceData&gt;
      &lt;SKUIDOut noNamespaceSchemaLocation="file:///c:/Users/BODDUAV1/OneDrive%20-%20Novartis%20Pharma%20AG/Avanthi/NovaRIM/Documents/SHAPE/stockKeepingUnit.xsd" schemaVersion="1.0"&gt;
        &lt;SystemMessageHeader&gt;
          &lt;CreationDateTime&gt;2002-10-10T12:00:00-05:00&lt;/CreationDateTime&gt;
          &lt;SenderID&gt;sandoz&lt;/SenderID&gt;
          &lt;BusinessSystemID&gt;SHAPE-P34-SKU&lt;/BusinessSystemID&gt;
          &lt;MessageID&gt;678678-2389789-4893947-473946&lt;/MessageID&gt;
        &lt;/SystemMessageHeader&gt;
        &lt;stockKeepingUnit&gt;30&lt;/stockKeepingUnit&gt;
        &lt;stockKeepingUnitStatus&gt;Approved&lt;/stockKeepingUnitStatus&gt;
        &lt;nationalTradeItemNumber&gt;098098&lt;/nationalTradeItemNumber&gt;
        &lt;registrationId&gt;REG-00000023&lt;/registrationId&gt;
        &lt;finishedDosageFormId&gt;FDF-002&lt;/finishedDosageFormId&gt;
        &lt;activeSusbstanceId&gt;6437&lt;/activeSusbstanceId&gt;
        &lt;tenant&gt;sandoz&lt;/tenant&gt;
      &lt;/SKUIDOut&gt;
    &lt;/SourceData&gt;
    &lt;LSRIMSData&gt;
      &lt;agl_result&gt;
        &lt;agl_service_headers&gt;
          &lt;serviceId&gt;CustgetRegPackDetails&lt;/serviceId&gt;
          &lt;messageProducer&gt;agidmp&lt;/messageProducer&gt;
          &lt;internalVersion&gt;12077&lt;/internalVersion&gt;
          &lt;uuid&gt;a94c1128-b145-402b-a139-3bbe44cb04eb&lt;/uuid&gt;
          &lt;dateFormat&gt;yyyy-MM-dd H:mm:ss&lt;/dateFormat&gt;
          &lt;generatedTimeStamp&gt;2019-04-04 10:36:10&lt;/generatedTimeStamp&gt;
          &lt;user&gt;system&lt;/user&gt;
        &lt;/agl_service_headers&gt;
        &lt;agl_pagination_details&gt;
          &lt;start&gt;0&lt;/start&gt;
          &lt;limit&gt;10&lt;/limit&gt;
          &lt;totalRecordsCount&gt;1&lt;/totalRecordsCount&gt;
        &lt;/agl_pagination_details&gt;
        &lt;RegistrationPackaging&gt;
          &lt;productPackaging&gt;
            &lt;ProductPackaging&gt;
              &lt;packagingItemName&gt;FDF-002&lt;/packagingItemName&gt;
            &lt;/ProductPackaging&gt;
          &lt;/productPackaging&gt;
          &lt;regIncludedProduct&gt;
            &lt;RegistrationIncludedProduct&gt;
              &lt;recordId&gt;43756&lt;/recordId&gt;
              &lt;registration&gt;
                &lt;Registration&gt;
                  &lt;dataState&gt;C&lt;/dataState&gt;
                  &lt;recordId&gt;43750&lt;/recordId&gt;
                  &lt;registrationUID&gt;REG-00000023&lt;/registrationUID&gt;
                &lt;/Registration&gt;
              &lt;/registration&gt;
            &lt;/RegistrationIncludedProduct&gt;
          &lt;/regIncludedProduct&gt;
          &lt;regPackagingHierarchyList&gt;
            &lt;RegistrationPackagingHierarchy&gt;
              &lt;recordId&gt;43767&lt;/recordId&gt;
              &lt;regChildPackagingHierarchyList&gt;&lt;/regChildPackagingHierarchyList&gt;
              &lt;regParentPackagingHierarchy&gt;
                &lt;RegistrationPackagingHierarchy&gt;
                  &lt;recordId&gt;43765&lt;/recordId&gt;
                  &lt;regParentPackagingHierarchy&gt;
                    &lt;RegistrationPackagingHierarchy&gt;
                      &lt;recordId&gt;43763&lt;/recordId&gt;
                      &lt;regParentPackagingHierarchy&gt;
                        &lt;RegistrationPackagingHierarchy&gt;
                          &lt;recordId&gt;43760&lt;/recordId&gt;
                        &lt;/RegistrationPackagingHierarchy&gt;
                      &lt;/regParentPackagingHierarchy&gt;
                    &lt;/RegistrationPackagingHierarchy&gt;
                  &lt;/regParentPackagingHierarchy&gt;
                &lt;/RegistrationPackagingHierarchy&gt;
              &lt;/regParentPackagingHierarchy&gt;
              &lt;regPkgHierarchyDataCarrierList&gt;&lt;/regPkgHierarchyDataCarrierList&gt;
              &lt;regErpCodesList&gt;&lt;/regErpCodesList&gt;
            &lt;/RegistrationPackagingHierarchy&gt;
          &lt;/regPackagingHierarchyList&gt;
        &lt;/RegistrationPackaging&gt;
      &lt;/agl_result&gt;
    &lt;/LSRIMSData&gt;
  &lt;/agConnectXML&gt;
  </code></pre>