Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    Nov 2016
    Posts
    3

    Default Using untangle, how can I check the existence of attributes and tags in XML before pa

    I'm parsing an XML file via untangle in python and and writing the content to a database.
    --> How can I check whether a tag exists or not before parsing? Currently my code throws an error for non existing title tag ...

  2. #2
    Untangle Ninja jcoehoorn's Avatar
    Join Date
    Mar 2010
    Location
    York, NE
    Posts
    1,205

    Default

    You're in the wrong place. This forum has nothing to do with the Untangle the Python XML module. It's dedicated to Untangle the Next-Gen Firewall Appliance Software. Try asking your question on StackOverflow.com. Be sure to include a usable code sample.
    Five time Microsoft ASP.Net MVP managing a Lenovo RD330 / E5-2420 / 8GB with Untangle 12.2 to protect 200Mbits for ~400 residential college students and associated staff and faculty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2