Something like the following should do it:
xsl:apply-tempaltes select=@*[name(.) !- 'id']/
Thanks. A bit of finetuning and some corrections and it seems to work
ok. Will be offline next week so feel free to roll-back if I missed
something.
--
Ferdinand Soethe
Have started to try and figure out the remaining problem by
debug-logging the Forrest transformations of xdocs.
I'm currently using snippets like this
!-- Test insert FSO --
map:transform type=debugLogger
map:parameter name=logfile value=P:\01-soure.log/
OK, I think I found the culprit for the strange behavior with
IMG-elements.
The Problem:
After fixing the problem of id-attributes not being passed
through to the final HTML I notices a strange behaviour with
IMG-elements:
- If an IMG-element had no id-attribute everything worked fine. IMG
Ferdinand Soethe wrote:
...
Attempted Solution:
1 xsl:template match=node()|@* priority=-1
!-- id processing will create its own a-element so processing has to
happen outside the copied element
--
2 xsl:apply-templates select=@id/
3xsl:copy
4
On Mon, 2005-07-25 at 15:44 +0200, Ferdinand Soethe wrote:
Looks like an oversight. When (in file
main\webapp\skins\common\xslt\html\document2html.xsl)
xsl:template match=table
xsl:apply-templates select=@id/
table cellpadding=4 cellspacing=1 class=ForrestTable
xsl:copy-of
Thorsten Scherler wrote:
I am more for
xsl:copy-of select=@*/
That will be better for maintainment. I could not see anything in the
code that would speak against that and the fix you suggested.
OK, I fixed the pass-through of id for several elements in common and
pelt but did not go for
There seems to be an error in the transformation of table id-Attributes in the
current skin.
A sequence like this
pZur Zeit gehören ihr folgende Mitglieder an:/p
table id=ueber_uns_teilmehmer
trtdp
a href=http://www.aldebaran.de;aldebaran Daten- und
Kommunikationssysteme GmbH/a