2 ms·
Used regex to parse XML - including properly handling namespaces! TBF, the XML was part of our integration platform, so I knew it was well-formed. Using regex
by taylodl 2y ago
Used regex to parse XML - including properly handling namespaces!
TBF, the XML was part of our integration platform, so I knew it was well-formed. Using regex to parse what I needed from the incoming payload was several times faster than using a traditional XML parser. This was on the Java platform. People were amazed at how fast that system could process incoming messages!