Thread overview
Xml Parser - Released (alpha)
Sep 05, 2004
David L. Davis
September 04, 2004
This is a small xml parser that works in a dom-like style.
It is neither the fastest nor the most complete xml parser in the world.
It is just an alternative!! (I just knew one xml parser for D, andy's one)

Please send me some feedback!

Thanks, Miguel Ferreira Simões


September 05, 2004
Miguel Ferreira Simoes: I downloaded, compiled and ran your code...Nice! With the small xml example, it ran very fast, zero seconds on my machine.

<sample>
# C:\dmd>bin\dmd xml.d
# C:\dmd\bin\..\..\dm\bin\link.exe xml,,,user32+kernel32/noi;
#
# C:\dmd>xml
# unittest self creation: start
# <root a="value1" b="value2">
#     <Son1>
#         <Son1-Son1/>
#     </Son1>
#     <Son3 a="value1">
#         <Son3-Son1/>
#         data
#     </Son3>
#     <Son2/>
#     data
# </root>
# unittest self creation(0 secs): end
#
# unittest methods: start
# unittest methods(0 secs): end
#
# unittest load file: start
# unittest load file(0 secs): end
#
# Press any key to continue . . .
#
# C:\dmd>
</sample>

Thanks for sharing the code, maybe you should add this project to DSource.org (http://www.dsource.org/) and give it a nice home where everyone can find it.

David L.

-------------------------------------------------------------------
"Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
September 05, 2004
plausible comments [ D ]
well split functionality [ B+ ]
naming convention, notation [ C ]
indentations & logical compounds [ B ]
vertical spacing [ E ]
horizontal spacing [ B+ ]
---
overall code readability [ C ]


>
>This is a small xml parser that works in a dom-like style.
>It is neither the fastest nor the most complete xml parser in the world.
>It is just an alternative!! (I just knew one xml parser for D, andy's =
>one)
>
>Please send me some feedback!
>
>Thanks,=20
>Miguel Ferreira Sim=F5es
>


September 05, 2004
  It took 0 seconds to complete the "load file test" because there is no
xmltest.xml file in your directory.
  Please move one xml file to that directory and rename it with
"xmltest.xml", then uncomment the line.

  Thanks.