From: COMPS Marianne (DSIT-EX) (marianne.comps@sncf.fr)
Date: 01/02/2001 - 13:50
Bonjour,
Je voudrais intégrer un graphique SVG à un document XML pour ensuite le
passer en XSL:FO (via les feuilles de style de N. Walsh) et en PDF (via
FOP).
Voici mon objet SVG :
<svg xmlns="http://www.w3.org/2000/svg" width="300px" height="100px">
<desc>Example InitialCoords - SVG's initial coordinate system</desc>
<g style="fill:none; stroke:black; stroke-width:3">
<line x1="0" y1="1.5" x2="300" y2="1.5"/>
</g>
</svg>
Lors de la première étape l'objet svg est transformé en balises comme suit :
<fo:block color="red"><svg>
<fo:block color="red"><desc>Example InitialCoords - SVG's initial
coordinate system</desc></fo:block>
<fo:block color="red"><g>
<fo:block color="red"><line></line></fo:block>
</g></fo:block>
</svg></fo:block>
Lorsque j'essaie d'intégrer l'objet SVG directement dans le fichier XSL:Fo,
il n'est pas traité par FOP non plus.
Quelqu'un aurait-il une idée ?
Merci d'avance
Marianne
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:05 UTC
webmaster@xmlfr.org
|