[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: XML?
There is a work in process for an XML DTD/Schema for LDAP called DSML at
www.dsml.org. There's supposed to be announcement soon but haven't heard a
peep out of them since their initial press release.
And technically there's nothing that prevents you from munging your entries
into an XML format and then loading your server. You'll just have to write
your own tools to do that. Same thing if you want to have XML returned to
your display.
The LDAP server knows nothing of LDIF. LDIF is simply for human readable
LDAP. And LDIF has just been the standard because when LDAP was started XML
didn't exist. But there is nothing magical about it.
Mark
-----Original Message-----
From: Eduardo Saltelli <esaltelli@webmethods.com>
To: openldap-general@OpenLDAP.org <openldap-general@OpenLDAP.org>
Date: Thursday, September 23, 1999 7:30 AM
Subject: RE: XML?
>
>> >
>> > I've had time to read a bit more, and am learning.
>> >
>> > Basically; what we needed to do here was use ldap from the
>> > start - we are creating a directory off of an Informix database,
>> > but the initial desired format was XML. So I have a bunch of
>> > XML files - 1 per entry in the directory.
>> > I want to take these XML files and do *whatever* to them,
>> > and make the information available in an ldap server (slapd?).
>> > Showing that I can run ldapsearch and "see" the data will be
>> > enough to me to know I'm on the right track.
>> >
>> > The correct way to do the above of course is to have the
>> > database populate the directory directly - without going
>> > through XML. If LDAP proves useful to us here, we may
>> > do just that. Of course, there is always the time factor. :)
>>
>> Interpretting your question as: 'How do I get my XML files
>> into the directory?'
>>
>
>I think the more interesting thing is to push the XML document directly
into a
>LDAP server with out having a translation from XML->LDIF->upload. One of
the
>great benefits of XML is the ease of being able to do transformations and
>mappings from one XML dialect to another. In this case, the transformaton
would
>be from the source XML document to the XML representation of one or more
entries
>in the LDAP server.
>
>
>Ed
>
>---
>Eduardo Saltelli
>Senior Software Engineer
>webMethods, Inc.
>Ph: 703.460.2512
>Fax: 703.460.2599
>Email: esaltelli@webMethods.com
>
>
>
>
>