Hey Guys,
I am trying to parse an XML document with std.xml. I've looked
over the reference of std.xml as well as the example but i'm
still stuck. I've also looked over some example code, but it's a
bit confusing and doesn't entirely help explain what i'm doing
wrong.
As far as I understand
I know very little about std.xml (I looked at it and
said 'meh' and wrote my own lib), but my lib
makes this pretty simple.
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
grab dom.d and characterencodings.d
This has a bit of an html bias, but it works for xm
On Tuesday, 20 March 2012 at 04:32:13 UTC, Adam D. Ruppe wrote:
I know very little about std.xml (I looked at it and
said 'meh' and wrote my own lib), but my lib
makes this pretty simple.
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
grab dom.d and characte
On Tuesday, 20 March 2012 at 04:32:13 UTC, Adam D. Ruppe wrote:
I know very little about std.xml (I looked at it and
said 'meh' and wrote my own lib), but my lib
makes this pretty simple.
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
grab dom.d and characte
On Friday, 18 May 2012 at 23:08:59 UTC, Iain wrote:
If I try to compile the code you gave above, I get a pile of
linking errors using D 2.059:
You have to link in the modules too on the command line
dmd.exe parseSpain arsd/dom.d arsd/characterencoding.d
(or whatever the full path to the modul
On Friday, 18 May 2012 at 23:16:26 UTC, Adam D. Ruppe wrote:
On Friday, 18 May 2012 at 23:08:59 UTC, Iain wrote:
If I try to compile the code you gave above, I get a pile of
linking errors using D 2.059:
You have to link in the modules too on the command line
dmd.exe parseSpain arsd/dom.d ars
On Friday, 18 May 2012 at 23:31:05 UTC, Iain wrote:
Aah thank you! Finally, an XML parser that works in D!!!
Adam, thanks for this! I guess you don't need much documentation
for your code, as you can just look up the wealth of tutorials
that have been written for Javascript's XML parser.
On Saturday, 19 May 2012 at 00:00:50 UTC, Iain wrote:
I guess you don't need much documentation for your code, as
you can just look up the wealth of tutorials that have been
written for Javascript's XML parser.
Yeah, that's basically how I feel about it. I started writing
some documentation bu