Hallo,
ich habe hier gerade ein Problem mit meinem Bilderimport per DXL.
Ich wollte die Attribute scaleheigt und scalewidth setzen, da Notes manchmal spinnt, wenn man die Informationen weglässt. Also habe ich einen Blick in die DTD geworfen und herausgefunden, dass man die Attribute mit Pixel setzen kann. also habe ich folgende Attribute für mein Bild geschrieben .
<item name='tmp'><richtext>
<pardef id='3' leftmargin='2,54cm'/>
<par def='3'><picture width='517px' height='158px' scaledheight='100px'
scaledwidth='400px'><gif>
R0lGODlhBQKeAOcAAAAAA........
Laut dieser Website befindet sich auch kein Fehler in meinem kompletten DXL, aber der Importer fällt immer auf die Nase.
http://www.xmlvalidation.com/ (http://www.xmlvalidation.com/)
<?xml version='1.0'?>
<DXLImporterLog>
<error source='NotesInputSource' line='14' column='15' id='6937'>Length value is invalid: 100%</error>
<error>DXL importer operation failed</error>
</DXLImporterLog>
Also ich habe es mal mit 100% versucht
<!-- **** Common Definitions **** -->
<!--
length is taken from CSS-2: horizontal and vertical measurements.
We accept units of in, cm, mm, pt, pc, px, and ex.
These correspond to inches, centimeters, millimeters, points, picas, pixels, and
exs (or x-heights), respectively. An ex is defined as the height of a lowercase
'x' in the selected font. Note that not all units are valid in all contexts -
use the Notes Client and Designer as a guideline for the valid units for specific
properties.
-->
<!ENTITY % length "CDATA">
<!-- An explicit length (like %length;) or a percentage. -->
So nochmal in der DTD nachgeguckt, warum nimmt er nicht den Wert wenn ich die Pixel einfach noch mal eintrage ?