Skip to main content
Inspiring
October 7, 2008
Question

Frame XSLT processing screws graphics mappings

  • October 7, 2008
  • 3 replies
  • 596 views
Hi,

We have encountered strange behavior in FM 8. Our XML has element for graphics with attribute set that matches 100% to frame graphic properties, like:

image position="below" href="graphic.jpg" etc..

rw-rules maps position to position property and href to file property etc..

If I open the file w/o using frame's XSLT in the middle frame behaves as expected (like 7.x did).

We had a small and simple xsl stylesheet (almost pass-through) and if that was added in structapps the results were odd in frame:

- href got mapped to file property, but also appeared in structure view!. Since href was a property, edd had no counterpart. Href was shown as invalid in structure view.
Also, frame no ignored position totally, all graphics got the default "At insertion point" value. This happened even if I tried to force the property to "below" in rw-rules.

All this worked in fm 7.x.

Has anyone noticed similar behaviour?. I'd consider this a serious bug.

BR, Martti
This topic has been closed for replies.

3 replies

Inspiring
October 9, 2008
Please click my name (at the forum's web page), there you'll find a link to my homepage, go to "Kontakt" to find my email address.

My domain is cap-studio.de, please use this with my initials 'mmh' before the ubiquitous at sign.

- Michael Müller-Hillebrand
MarttiPAuthor
Inspiring
October 8, 2008
Hi Michael,

No problem, just need the email address.

Thanks in advance,

Martti
Inspiring
October 8, 2008
Martti, could you post the "almost pass-through" XSL?

When opening XML files the XSL processing is applied before r/w rules do their thing. There are ways to intercept that intermediate XML files, but maybe a look at the XSL helps.

- Michael