RE: XSLT Attribute to Element / Preventing Deletions?

"Roger Fischer" <[email protected]>
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
> > And why do you want to do this? Is it to be sure, that the
> title can't be
> > deleted?
>
> 1) the silva-xml has some attributes (like title) which should
>    be editable and wysiwyg-rendered with BXE.  this is
> currently not possible.

IMHO the ulink url attribute is editable, so I think the list title
attribute can be made editable as well.
Would this be a doable solution? Or do you want to have the title attribute
really displayed as an element, i mean always viewable.

> 2) therefore i want to transform these attribute into
> elements which can
>    be handled/rendered/edited by BXE.

(see above)
>
> 3) before the xml is stored in the silva-cms it needs to be Silva-XML
>    so i have to "backtransform" the elements into attributes.

If you would leave the attribute to be editable but displayed in the same
way as the ulink url attribute, you wouldn't need the backtransforming. But
as I guess you definitely want the attribute being displayed (as it will be
on the output?).

> I hope this clarifies the whole issue.
>
> > You also could do the element-attribute transformation
> outside the Editor.
>
> That's my current plan but i thought that maybe it's easier or cleaner
> to do it with the bitflux-xsl transformations.  I probably go with
> server-side transformations to be safe (unless you say the proper way
> in the BXE architecture would be to do it on the client side).
>
Hm, I don't know - Christian could tell us this.
It seems you rather can't wait till his back, right.
So I'll send him a SMS message about it. I hope it gets through.

Best
Roger


> P.S.: Is there a reason why you leave out the mailing list?  I think
>       stuff like this is of general interested.  It's easy enough
>       to hit the delete-button if someone is not interested in this
>       thread.

Nope.
I am writing to the mailing list now.
Best
Roger


-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.