Encore moi ! :)
Comme il ne doit pas avoir de référence à un dtd n'y déclaration xml,
dois-je enlever ceci :
xmlns:data="http://www.maxopeninfo.org/xmlns/spip/data"
xmlns:ext="http://www.maxopeninfo.org/xmlns/spip/ext"
xmlns:lien="http://www.maxopeninfo.org/xmlns/spip/lien"
Du filtre d'export de Bob ?
Françoise
-----Message d'origine-----
De : Françoise [mailto:[EMAIL PROTECTED]
Envoyé : dimanche 27 août 2006 06:26
À : [email protected]
Objet : [dev-fr] Filtre xsl export + enveloppe Soap
Bonjour,
Quelquun pourrait-il me dire comment insérer une enveloppe Soap dans un
fichier dexport XSL ? Merci
Tout ce que je sais cest que Le prologue XML peut être présent, mais dans
ce cas, ne doit contenir qu'une déclaration XML. C'est-à-dire :qu'il ne doit
contenir ni référence à un DTD, ni instruction XML.
Alors jimagine que je mets :
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:office="http://openoffice.org/2000/office"
xmlns:style="http://openoffice.org/2000/style"
xmlns:text="http://openoffice.org/2000/text"
xmlns:table="http://openoffice.org/2000/table"
xmlns:draw="http://openoffice.org/2000/drawing"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="http://openoffice.org/2000/meta"
xmlns:number="http://openoffice.org/2000/datastyle"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:chart="http://openoffice.org/2000/chart"
xmlns:dr3d="http://openoffice.org/2000/dr3d"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:form="http://openoffice.org/2000/form"
xmlns:script="http://openoffice.org/2000/script"
xmlns:config="http://openoffice.org/2001/config"
xmlns:data="http://www.maxopeninfo.org/xmlns/spip/data"
xmlns:ext="http://www.maxopeninfo.org/xmlns/spip/ext"
xmlns:lien="http://www.maxopeninfo.org/xmlns/spip/lien"
office:class="text" office:version="1.0"
exclude-result-prefixes="office meta table number dc fo xlink chart
math script xsl draw svg dr3d form config text style">
<xsl:decimal-format name="staff" digit="D" />
<xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>
<xsl:key name="controlForId"
match="//office:forms/form:form//form:control" use="@form:id" />
<xsl:key name="StyleForStyleName" match="//office:styles/style:style |
//office:automatic-styles/style:style" use="@style:name" />
<xsl:key name="ListStyleForStyleName"
match="//office:styles/text:list-style |
//office:automatic-styles/text:list-style" use="@style:name" />
<xsl:key name="isBoldCaracteresForStyleName"
match="//office:styles/style:style[style:properties/@fo:font-weight='bold']
|
//office:automatic-styles/style:style[style:properties/@fo:font-weight='bold
']" use="@style:name" />
<xsl:key name="isItalicCaracteresForStyleName"
match="//office:styles/style:style[style:properties/@fo:font-style='italic']
|
//office:automatic-styles/style:style[style:properties/@fo:font-style='itali
c']" use="@style:name" />
<!-- **** DEBUT DU DOCUMENT ***** -->
<xsl:template match="/"><!-- le texte en lui-même se fait à partir
d'une balise /-->
<xsl:text disable-output-escaping="yes"/> <!-- Qui permet d'afficher
du texte contenant des caractères-->
<xsl:text> </xsl:text>
</xsl:template>
Mais là je ne sais pas où insérer lenveloppe Soap , avant le template,
après ou à lintérieur?
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:doubleAnInteger
xmlns:ns1="urn:MySoapServices">
<param1 xsi:type="xsd:int">123</param1>
</ns1:doubleAnInteger>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Françoise
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]