title: Transform json object to json array xslt 1.0
body: <p>I'm new to the world of xslt and I need to transform json objects into "body" to json array, can you help me please? In the example code both "revista" and "periodicos" are objects, I need to transform them without "books" changing.</p>
  
  <pre><code> {
      "Consultar": {
          "header": {
              "fechaHora": "20161017141835",
              "idioma": "ES"
          },
          "body": {
              "revistas": {
                  "moneda": "USD",
                  "valorPagar": "150.0",
                  "nombre": "Revista1"
              },
              "libros": [{
                  "nombre": "Libro1",
                  "precio": "96.98"
              }, {
                  "nombre": "Libro2",
                  "precio": "25.62"
              }, {
                  "nombre": "Libro3",
                  "precio": "10"
              }],
              "periodicos": {
                  "moneda": "USD",
                  "valorPagar": "150.0",
                  "nombre": "Periodico1"
              }
          }
  
      }
  }
  </code></pre>