Created
October 2, 2015 19:48
-
-
Save walkerdb/786491a147781229f3b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >>> parent = extent.getparent() | |
| >>> print(etree.tostring(parent)) # printing out the parent just for comparison purposes | |
| ''' | |
| <physdesc altrender="whole"> | |
| <extent encodinganalog="300">3 linear feet and 1 oversize box</extent> | |
| </physdesc> | |
| ''' | |
| >>> parent.remove(extent) | |
| >>> print(etree.tostring(parent)) | |
| ''' | |
| <physdesc altrender="whole"> | |
| </physdesc> | |
| ''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment