terrypin Posted September 14, 2017 Report Share Posted September 14, 2017 Anyone here done any work with HTML/XML/KML files please? This is part of a KML file from Google Earth: I've hit a block over extracting the name either by working directly on the file (after removing its tabs and/or its CRLFs) or using it with Text Begin Process. One obstacle is that MX Pro has no Regular Expression facility as far as I know. I've had to resort to having the macro open my text editor and work there. It works, but is very slow, intrusive and inelegant. With the entire code from the clipboard in a text variable tFullKML, I want to quickly and silently get the name inside the string shown. At its simplest, if stripped of tabs unique identification would require finding the two successive lines, where the content inside the name tags is unknown. <Placemark> <name>Heathrow</name> Or, stripped of both tabs and CRLFs it would be one very long line containing the string: <Placemark><name>Heathrow</name> Any ideas would be appreciated please. I'll report back promptly if I hit on a neat solution. Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.