Sign InSign Up

Rocketbot Forum

Rocketbot Forum Logo Rocketbot Forum Logo

Rocketbot Forum Navigation

  • Academy Rocketbot
  • Tutorials
  • Documentación
Search
Ask A Question

Mobile menu

Close
  • Home
  • Popular
  • Categories
  • Tags
  • Questions
    • New Questions
    • Most voted
    • Most visited
    • Most Responded
  • Academy Rocketbot
  • Tutorials
  • Documentación
Home/ Questions/Q 6443
Next
In Process

Rocketbot Forum Latest Questions

Anonymous
  • 0
  • 0
Anonymous
Asked: February 4, 20222022-02-04T14:38:15+00:00 2022-02-04T14:38:15+00:00In: Comandos

Elementos vacios de un diccionario

  • 0
  • 0

Hola, tengo un xml de objetos con sus tags, dentro de los cuales hay tags singleton o etiquetas con elementos vacios, cuando quiero acceder a uno de los datos lo paso a diccionario y luego con otro comando asigno variables con las formas que enseño Marcela, pero al pasarlo a diccionario las etiquetas vacias se pasan a null, y me da error luego de eso, como puedo modificar o eliminar ese null con un comando para poder seguir

question
3
  • 3 3 Answers
  • 4k Views
  • 0 Followers
  • 0
Share
  • Facebook

    3 Answers

    • Voted
    • Oldest
    • Recent
    1. Bender
      Bender
      2022-02-04T18:09:11+00:00Added an answer on February 4, 2022 at 6:09 pm

      Hola Anonymous
      Puedes adjuntar el XML para realizar pruebas?

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
      • Anonymous
        Anonymous
        2022-02-04T19:58:41+00:00Replied to answer on February 4, 2022 at 7:58 pm

        xml

        Bender este es el xml

         

          • 0
        • Reply
        • Share
          Share
          • Share on Facebook
          • Share on Twitter
          • Share on LinkedIn
          • Share on WhatsApp
        • Bender
          Bender
          2022-02-10T16:01:39+00:00Replied to answer on February 10, 2022 at 4:01 pm

          Hola,

          Puedes utilizar el módulo XML para abrir el archivo, esto quedará cargado en una variable y luego puedes usar el comando Set Variable para llegar a la data que necesitas

          Lo retornará así:

           

           

            • 0
          • Reply
          • Share
            Share
            • Share on Facebook
            • Share on Twitter
            • Share on LinkedIn
            • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.


    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Ask A Question

    Stats

    • Questions : 1k
    • Answers : 2k
    • Posts : 0
    • Comments : 0
    • Best Answers : 163
    • Users : 5k
    • Popular
    • Comments
    • Tags

    Related Questions

      • Answers: 0

      Eld.gg Path of Exile 2 Currency: Looting in multiplayer

      • Answers: 0

      Obtener URL actual PDF en nueva pestaña

      • Answers: 0

      Obtener URL actual PDF en nueva pestaña

      • Answers: 3

      Problema con typing_extensions al usar EasyOCR en RocketBot

      • Answer: 1

      Error al importar una libreria python

    Users

    Explore

    • Home
    • Popular
    • Categories
    • Tags
    • Questions
      • New Questions
      • Most voted
      • Most visited
      • Most Responded

    Footer

    rocketbot white

    Rocketbot SpA | Todos los derechos reservados 2018 - 2020

    © 2020 Discy. All Rights Reserved
    With Love by 2code.

    en_US
    es_ES en_US

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.