Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

183
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda