OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML and LDAP: Common APIs?

[ Lists Home | Date Index | Thread Index ]
  • From: rweltman@netscape.com (Rob Weltman)
  • To: xml-dev@lists.xml.org
  • Date: Sun, 27 Aug 2000 22:40:30 -0700

KenNorth wrote:
> 
> << an SQL example, if I ask
> 
> select employee_name, employee_age from employee
> 
> I don't have to know the data type >>
> 
> That's because a CREATE TABLE statement defined the types for employee_name
> and employee_age. You are implicitly using those types unless you cast the
> results to another type.

  That's exactly it: the syntax for the attributes was defined when the table was created. In LDAP (where data is hierarchically organized) the syntax of an attribute within a subtree is determined by the schema in effect in that subtree.

Rob




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS