Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping picture reference in XSL
Message
De
24/06/2006 22:49:33
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
XML
Titre:
Keeping picture reference in XSL
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01131463
Message ID:
01131463
Vues:
58
In a Word XSL file, I have an inclusion of an image. This is the logo of the company which should appear at the upper left of the enveloppe. The address is centered. The transformation works well. Everything is well placed. But, the picture is missing. I can see that Word has properly defined the image but the image is not shown. The XSL is including the following for the image:
  <w:p>
  <w:r>
  <w:pict>
  <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
  <v:stroke joinstyle="miter" /> 
  <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0" /> 
  <v:f eqn="sum @0 1 0" /> 
  <v:f eqn="sum 0 0 @1" /> 
  <v:f eqn="prod @2 1 2" /> 
  <v:f eqn="prod @3 21600 pixelWidth" /> 
  <v:f eqn="prod @3 21600 pixelHeight" /> 
  <v:f eqn="sum @0 0 1" /> 
  <v:f eqn="prod @6 1 2" /> 
  <v:f eqn="prod @7 21600 pixelWidth" /> 
  <v:f eqn="sum @8 21600 0" /> 
  <v:f eqn="prod @7 21600 pixelHeight" /> 
  <v:f eqn="sum @10 21600 0" /> 
  </v:formulas>
  <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> 
  <o:lock v:ext="edit" aspectratio="t" /> 
  </v:shapetype>
  <w:binData w:name="wordml://03000001.png">...</w:binData> 
  <v:shape id="_x0000_i1025" type="#_x0000_t75" style="width:212.15pt;height:89.3pt">
  <v:imagedata src="wordml://03000001.png" o:title="" /> 
  </v:shape>
  </w:pict>
  </w:r>
  </w:p>
The binData tag does not contain the binary code as it is too long. So, I put ... instead. This code has been taken from the original Word file, which served as the template, when being saved as XML. So, the code is ok. But, something has to be changed in it for the path reference of the image. This is where I don't know where to look to resolve the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform