www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - XML libraries

reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Guys

Can anyone fill me in on the total picture wrt available XML libs for D?

The reason I ask is that one of the things I've worked on with STLSoft - 
properties for C++ (which you can read about in Chapter 35 of IC++) - 
and a new pattern I've been working on - called Handle::Ref (which I'm 
going to write an article about very soon) - have given me cause to 
wonder about whether I might be able to generate efficient and complete 
wrappers for extant libraries, for both C++ and D. Since XML is 
something I've been needing commercially recently, and is a pretty 
popular thing in any case, I naturally thought of that.

As those of you who know me know, I've a lot on, but I see this as 
something that I would do during, and complementary to, the writing of D 
Programming Distilled, such that it'd inform on the writing and vice 
versa, and also produce something useful at the end. It'd also do have a 
similar impetus for DTL, which has been floundering for nearly 12 months 
(much to my shame; though I am certain it will also prosper during DPD).

I'm not talking about writing an XML parser here, it would be a tool for 
generating full-featured bindings to existing libs, such as MSXML, 
expat, libxml, etc., etc.

The reason I'm writing is simple: if there are good efforts around 
already happening with D/XML - whether they're parsers or bindings - 
then I will look for another area. I don't want to step on anyone's 
toes, and I think there's little point duplicating effort in this case.

Your feedback is appreciated.

Cheers

Matthew
Feb 07 2005
parent reply John Demme <me teqdruid.com> writes:
Actually, I'm just finishing up a 100% D DOM (level 1) based XML parser 
to be included with Mango.  A preliminary version is already in the 
Mango SVN repository.

It's nearly fully XML1.0 compliant (doesn't support parsed entities, or 
external references), however is non-validating.  The DOM is seperated 
from the parser, however, so it should be fairly extensible.

I'm sure this won't fully furfill the XML needs of the D community, but 
it's a pretty good start, and I'm hoping people will build on it.

In addition, there's also xmld, and I think there's an expat binding 
floating around somewhere.

On a side node, I'm releasing an XML-RPC library along with the XML 
library in mango.

John

Matthew wrote:
 Guys
 
 Can anyone fill me in on the total picture wrt available XML libs for D?
 
 The reason I ask is that one of the things I've worked on with STLSoft - 
 properties for C++ (which you can read about in Chapter 35 of IC++) - 
 and a new pattern I've been working on - called Handle::Ref (which I'm 
 going to write an article about very soon) - have given me cause to 
 wonder about whether I might be able to generate efficient and complete 
 wrappers for extant libraries, for both C++ and D. Since XML is 
 something I've been needing commercially recently, and is a pretty 
 popular thing in any case, I naturally thought of that.
 
 As those of you who know me know, I've a lot on, but I see this as 
 something that I would do during, and complementary to, the writing of D 
 Programming Distilled, such that it'd inform on the writing and vice 
 versa, and also produce something useful at the end. It'd also do have a 
 similar impetus for DTL, which has been floundering for nearly 12 months 
 (much to my shame; though I am certain it will also prosper during DPD).
 
 I'm not talking about writing an XML parser here, it would be a tool for 
 generating full-featured bindings to existing libs, such as MSXML, 
 expat, libxml, etc., etc.
 
 The reason I'm writing is simple: if there are good efforts around 
 already happening with D/XML - whether they're parsers or bindings - 
 then I will look for another area. I don't want to step on anyone's 
 toes, and I think there's little point duplicating effort in this case.
 
 Your feedback is appreciated.
 
 Cheers
 
 Matthew
 
 
 

Feb 07 2005
parent "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Cool. Thanks

I reckon I'll find an unploughed application area to develop my tool 
with. (Maybe if/when it works, it might be used by others on XML 
projects.)

Cheers

Matthew

"John Demme" <me teqdruid.com> wrote in message 
news:cu94om$1m2r$1 digitaldaemon.com...
 Actually, I'm just finishing up a 100% D DOM (level 1) based XML 
 parser to be included with Mango.  A preliminary version is already in 
 the Mango SVN repository.

 It's nearly fully XML1.0 compliant (doesn't support parsed entities, 
 or external references), however is non-validating.  The DOM is 
 seperated from the parser, however, so it should be fairly extensible.

 I'm sure this won't fully furfill the XML needs of the D community, 
 but it's a pretty good start, and I'm hoping people will build on it.

 In addition, there's also xmld, and I think there's an expat binding 
 floating around somewhere.

 On a side node, I'm releasing an XML-RPC library along with the XML 
 library in mango.

 John

 Matthew wrote:
 Guys

 Can anyone fill me in on the total picture wrt available XML libs for 
 D?

 The reason I ask is that one of the things I've worked on with 
 STLSoft - properties for C++ (which you can read about in Chapter 35 
 of IC++) - and a new pattern I've been working on - called 
 Handle::Ref (which I'm going to write an article about very soon) - 
 have given me cause to wonder about whether I might be able to 
 generate efficient and complete wrappers for extant libraries, for 
 both C++ and D. Since XML is something I've been needing commercially 
 recently, and is a pretty popular thing in any case, I naturally 
 thought of that.

 As those of you who know me know, I've a lot on, but I see this as 
 something that I would do during, and complementary to, the writing 
 of D Programming Distilled, such that it'd inform on the writing and 
 vice versa, and also produce something useful at the end. It'd also 
 do have a similar impetus for DTL, which has been floundering for 
 nearly 12 months (much to my shame; though I am certain it will also 
 prosper during DPD).

 I'm not talking about writing an XML parser here, it would be a tool 
 for generating full-featured bindings to existing libs, such as 
 MSXML, expat, libxml, etc., etc.

 The reason I'm writing is simple: if there are good efforts around 
 already happening with D/XML - whether they're parsers or bindings - 
 then I will look for another area. I don't want to step on anyone's 
 toes, and I think there's little point duplicating effort in this 
 case.

 Your feedback is appreciated.

 Cheers

 Matthew

 


Feb 07 2005