Applescript - Untag all XML tags after importing.
Have the following which works to untag 1 xml tag at a time but we'd like to untag everything if possible. We could loop through if needed but don't know how to get total number of elements so we know how many times to loop. We currently just put value greater than will ever be with try so it works but wondering if there is an easier way? Is there a tell every or something like that? Thanks, Joe
set myXMLElement to XML element 1 of XML element 1 of myDocument
tell myXMLElement to untag