Re: XSLT Attribute to Element / Preventing Deletions?
holger krekel <[email protected]>
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Roger,
[Roger Fischer Fri, Oct 04, 2002 at 01:17:56PM +0200]
>[me]
> > i have two questions.
> >
> > 1) could someone tell how difficult it is to write
> > XSLT-transformations
> > that convert specific tag-attributes to elements and back again?
> > Or even better, does someone have a recipe for this?
>
> http://lists.xml.org/archives/xml-dev/200203/msg00878.html
>
> Is that the solution you are looking for (see link above)?
> Or else can you make an example as I am not sure if I get you right.
Thanks, that helps a bit. I am not sure how to backtransform with this
example, though. Are you confident that the browser's xsl engines
support this?
With backtransforming i mean making a new structure out of the below
structure:
<list title="sometitle">
<li>alksjd</li>
<li>alksjd</li>
</list>
> > 2) How could/should i prevent BXE from deleting "required"
> > elements and/or attributes? Basically I don't want a user
> > e.g. erasing (in BXE-WYSIWYG-mode) the title in this structure:
> > <list>
> > <title>sometitle</title>
> > <li>alksjd</li>
> > <li>alksjd</li>
> > </list>
>
> For this question I think you have to wait till Christian is back.
> He comes back from the States next week. He will be working starting from
> October 9.
> If it's very urgent you can call him in the States (he has a triband mobile
> and 9 hours delay on our time):
> +41 76 561 88 60
I'll wait because i don't think this can be solved through the phone.
thanks,
holger
--
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev