Learning to XML with D

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 6 06:15:43 PST 2015


On Friday, 6 February 2015 at 14:11:19 UTC, CraigDillabaugh wrote:
> On Friday, 6 February 2015 at 14:09:51 UTC, CraigDillabaugh 
> wrote:
>> On Friday, 6 February 2015 at 11:39:32 UTC, Chris wrote:
>>> On Friday, 6 February 2015 at 09:15:54 UTC, Derix wrote:
> clip
>>>>
>>>>
>>>> Thxxx
>>>
>>> The documentation says:
>>>
>>> "Warning: This module is considered out-dated and not up to 
>>> Phobos' current standards. It will remain until we have a 
>>> suitable replacement, but be aware that it will not remain 
>>> long term."
>>>
>>> My advice is not to use it. I used it a while back, but it 
>>> slowed down my system (why I still don't know), and it is 
>>> permanently soon-to-be deprecated.
>>>
>>> If you wanna use D for XML parsing, see if you can find a 
>>> solid 3rd party library in D (have a look at Adam's github 
>>> page: https://github.com/adamdruppe/, he has some DOM and 
>>> HTML stuff up there).
>>>
>>> There is a new xml module in the review queue, but nobody 
>>> seems to care. I _think_ the reason why nobody really cares 
>>> is that most people in the D community don't like XML.
>>
>> I added XML to the GSOC idea's page (see Phobos section), but 
>> it still needs a mentor.  Are you busy this summer?
>>
>> http://wiki.dlang.org/GSOC_2015_Ideas#Phobos:_D_Standard_Library
>
> Just for the record, I hate XML too, but it is VERY widely 
> used, so good XML support is essential ... like it or not!

You're right of course. It is widely (and wildly) used. I for my 
part have changed my input files from XML to a simpler custom 
format.

PS I am busy this summer. But maybe Adam's dom.d can be used as a 
basis for a new module, unlike std.xml2 it's not abandoned.


More information about the Digitalmars-d-learn mailing list