[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: XML Documents in LDAP
There's no need for this complication. Ldap allows CR in DirectoryStrings
and does not enforce a maximum length. (Unless the OpenLdap implementation
has some non-standard limitations.)
> -----Original Message-----
> From: Allen Reese [mailto:allen@driversoft.com]
> Sent: Friday, February 11, 2000 4:33 PM
> To: axel
> Cc: openldap-general@OpenLDAP.org
> Subject: Re: XML Documents in LDAP
>
>
> How about base64 encoding it? I think that Novell has
> something in the
> works for storing XML in their directory...
>
> I'm no expert but I think you can have a really long base64 string.
>
> Allen Reese
> VP Engineering
> Driversoft, Inc.
> allen@driversoft.com
> Hi! I'm a .signature virus! Copy me into your ~/.signature
> to help me spread
> Hi, I'm an evil mutated signature virus, put me in your .sig
> or I will
> bite your kneecaps!
>
> On Wed, 9 Feb 2000, axel wrote:
>
> > For a project we want to store XML documents in an LDAP
> server. To store
> > html is no problem. In html it's needed to use an cr
> because thereis for
> > example the <br> to go to the next line. XML does not have
> something like
> > this. Therefor another solution has to be found.
> >
> > An XML-layout file looks like below (test.css):
> >
> > KLASNAAM {font-size: 16pt;color:
> > black;font-weight:bold;display:block;text-align:center}
> > KLAS {display:block}
> > PERSOON {display:block}
> > CIJFERS {display:block}
> > SEMESTER {color: black;display:block}
> > VAK {font-size: 12pt;color: red;display:block}
> > TENTAMEN {font-size: 10pt;color: blue}
> > HER {font-size: 10pt;color: cyan}
> >
> > Does anyone know a solution to put this file in the
> LDAP-directory structure
> >
> > A xml file looks like below (test.xml):
> >
> > <?xml version="1.0" standalone="yes"?>
> > <?xml-stylesheet type="text/css" href="test.css"?>
> > <SCHOOL>
> > <KLAS>
> > <KLASNAAM> HI4 </KLASNAAM>
> > <KLASGENOOT>
> > <PERSOON>
> > <NUMMER>ux010934</NUMMER>
> > <NAAM>Frank Nijenhuis</NAAM>
> > </PERSOON>
> > <CIJFERS>
> > <SEMESTER>Semester <NUM>1</NUM>
> > <VAK>Geschiedenis <TENTAMEN> 4.5</TENTAMEN><HER>
> 5.3</HER></VAK>
> > </SEMESTER>
> > </CIJFERS>
> > </KLASGENOOT>
> > <KLASGENOOT>
> > <PERSOON>
> > <NUMMER>ux010583</NUMMER>
> > <NAAM>Axel van Duijkeren</NAAM>
> > </PERSOON>
> > <CIJFERS>
> > <SEMESTER>Semester <NUM>1</NUM>
> > <VAK>Geschiedenis <TENTAMEN> 4.5</TENTAMEN><HER>
> 5.3</HER></VAK>
> > </SEMESTER>
> > <SEMESTER>Semester <NUM>2</NUM>
> > <VAK>Engels <TENTAMEN> 1.0</TENTAMEN><HER> 5.1</HER></VAK>
> > <VAK>Gymnastiek <TENTAMEN> 2.5</TENTAMEN><HER> 8.0</HER></VAK>
> > </SEMESTER>
> > </CIJFERS>
> > </KLASGENOOT>
> > </KLAS>
> > </SCHOOL>
> >
> > So the problem is that these two files have to be inserted
> in an LDAP
> > stucture. LDAP doesn't take carriage returns, how can this
> problem be
> > solved???
> >
> > In advanced thanx
> >
> > Axel
> >
> >
> >
>