Torben Nehmer wrote:

> > Easy, that's just a few lines of code, given that you have the style
> > element ID at hand.
>
> Element ID's bad... It has to be name based, otherwise using it for the
> component system is not possible.

Element names are not unique.

> So the idea of "routing" the request to a real style. This style has
> elements with exactly the same names as the snippets in the layout
> tree.  A set of custom function then fetches this element. (Even
> support of style element inheritance is planned.) Because this is not
> trivial, the idea of putting this logic into Midgard lead me to the
> "<[/path/to/style/element]>" approach, using clear text names as only
> possible reference to the element (what could be replaced with IDs (or
> GUIDs at least) would be the reference to the style itself. But even
> there the path would be preferable).

The path to elt could work. Note that style names need not (technically)
be unique.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to