Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

189
Vistas
API XML Select all values ​that have the given value

I have problem. I got an xml file with product data, but I don't want to import all but only those from a certain category to my store. Unfortunately, the products are not arranged under their categories, but outside of them. The category information is only contained in their columns under "categoryId".

I had the idea of ​​writing python code to convert XML to JSON. Then extract the data from the appropriate "categoryId", save it in the variables, and create a new JSON file. Unfortunately, I have no idea how to get all the data from a specific "categoryId" at once.

I am begging you for at least a subtle hint. Unfortunately, I can't do great much, I'm just learning.

A few photos of what the answer looks like from the file.

enter image description here

As you can see in the category table, there are no products, they are outside. enter image description here

I want to pull out every item that has this category.

Thank you in advance for any willingness to help :)

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda