Lists Home |
Date Index |
- From: email@example.com (John F. Schlesinger)
- To: 'Jeff Turner' <firstname.lastname@example.org>, email@example.com
- Date: Thu, 24 Aug 2000 08:57:14 -0400
"I was just thinking how similar the XML and LDAP data models are."
The idea of using XML standards for any tree structure is a great one. It
makes no sense to teach a programmer two or more tree access languages.
Using XPath for LDAP databases is a great idea. We could even replace
Segment Search Arguments for accessing IMS databases! The UNIX and Windows
file systems could be accessed using XPath which would make scripts much
easier to write (or, indeed, read). XPath could be added to tree controls
for user interface coding. Neat.
John F Schlesinger
212 619 5200 x 219
917 886 5895 Mobile
[mailto:firstname.lastname@example.org]On Behalf Of Jeff Turner
Sent: Wednesday, August 23, 2000 11:59 PM
Subject: XML and LDAP: Common APIs?
I was just thinking how similar the XML and LDAP data models are. LDAP
gives you a tree, where each node can contain data -and- can act as a
namespace for other nodes. This corresponds pretty closely to XML (or
Has anyone explored the possibility of crossover APIs for accessing all
these 'tree-like' data structures in a standardised way? I'd like to be
able to traverse an LDAP directory with DOM or SAX. How about querying
LDAP with an XPath expression, or a stylesheet? Going the other way, how
about accessing an XML document with an API like Sun's JNDI? I see that
Sun have got a DSML "service provider", but wouldn't it be possible to
generalise this to access any well-formed XML?
Since LDAP is usually layered on a database, doesn't LDAP provide a
simple kind of XML Database? Has anyone tried to map XML directly into
LDAP like this?