Computer Science, asked by jasminejohn1839, 1 year ago

How to generate XML documents with namespaces in Python?

Answers

Answered by NikhilCr7jr
0
CURRENTLY YOU CANNOT ADD A NAMESPACE TO XML DOCUMENT DIRECTLY AS IT IS NOT YET SUPPORTED IN THE INPUT PYTHON XML PACKAGE. SO YOU WILL NEED TO ADD NAMESPACE AS A NORMAL ATTRIBUTE TO THE TAG. FOR EXAMPLE,
picture above ..
Attachments:
Similar questions