Can we come up with a more precise naming scheme for ID attributes then?

Something like function.ext-name.func-name; we can still retain (and
prefer) the current scheme, but use this one when we have a collision.

This should be reasonably simple to hack into livedocs.

--Wez. 

> -----Original Message-----
> From: Nuno Lopes [mailto:[EMAIL PROTECTED] 
> Sent: 08 May 2004 11:58
> To: Derick Rethans
> Cc: Rob Richards; [EMAIL PROTECTED]
> Subject: Re: [PHP-DOC] dom docs first attempt
> 
> > On Sat, 8 May 2004, Nuno Lopes wrote:
> >
> > > > The reason why I went with link is due to having to 
> append the "dom-"
> to
> > > the
> > > > ids. I had origionally used <function></function>, but 
> the it wouldnt
> map
> > > to
> > > > the ids. And I was a bit worried about the livedocs, 
> but there is no
> other
> > > > way due to the domxml functions. So how should the 
> links actually be
> done?
> > >
> > >
> > > You should use <function></function> as I've fixed the 
> links for OO
> funcs.
> > > (however its not fixed for DOM, because you used the 
> "dom-" prefix, but
> as
> > > I've said before, I have a patch to fix definetly these issues).
> >
> > He has to prefix them, otherwise we are overwriting other files. And
> > then the only way is using <link> and not <function>
> >
> > Derick
> 
> Thats true! I've forgotten that... He has to use <link> 
> otherwise the query
> can return two results for the same function.
> This has to be changed in domxml extension also.
> 
> 
> Nuno
> 

Reply via email to