how to take html/xml input as string

Status: Open · Asked by Brian Lardner on · 0 views

brianlardner — Question ·

Hi, I am trying to use pabbly code (python), and I need to work with a xml file. So I am taking the input, but is is not taking xml in a variable.
here is my code, that I wrote to test:

records="""



"""

print("***")
print(records)
record="""
test
"""
print("***")
print(record)

and here is the log I get:

***


***

test


So here we can see that, it is not showing xml in log. and I also cannot do anything with the xml text also. How can I take and format xml in python in pabbly?

Arshil Ahmad — Reply ·

Hi @brianlardner,

It seems like you have set up your workflow properly. Based on your task history, we can see that Code by Pabbly is taking the data as a variable from the step above. This means your workflow is functioning as intended.

Task History ID - IjU3NjEwNTY4MDYzMDA0MzM1MjZjNTUzMDUxMzE1MTY2NTQzMiI_3D_pc

Back to all forum threads · Log in to reply