SXML Parser

Oi, it’s done I guess. Beta phase though, but it seems to work rather well! This code parses the “SXML” of the post right before this one.

It’s tested with this file:

<window 100 456 789 120 windone SimpleXML>
  <button 101 258 369 123 buttone Ok 1337/>
  <button 102 258 369 123 buttwo Cancel 1338/>
</>

<window 103 456 789 120 windtwo SimpleXML1>
  <window 104 456 789 120 windthree SimpleXML2>
    <button 105 258 369 123 buttwo yes 1339/>
    <button 106 258 369 123 buttwo nay 1340/>
  </>
  <button 106 258 369 123 buttwo nay 1340/>
</>

Read the rest of this entry »