Re: XML Parsing

2012-05-18 Thread Adam D. Ruppe
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

Re: XML Parsing

2012-05-18 Thread Iain
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.

Re: XML Parsing

2012-05-18 Thread Iain
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

Re: XML Parsing

2012-05-18 Thread Adam D. Ruppe
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

Re: XML Parsing

2012-05-18 Thread Iain
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

Re: XML Parsing

2012-03-20 Thread Chris Pons
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

Re: XML Parsing

2012-03-19 Thread Adam D. Ruppe
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