From: PUGIN Catherine (catherine.pugin@unifr.ch)
Date: 19/05/2003 - 18:25
bonjour,
j'ai un problème dans mon sitemap. En effet je souhaiterais récupérer avec
le protocole cocoon:/ la sortie xml d'un pipeline plusieurs fois. La
première fois tout marche, mais dès la deuxième fois j'ai le message
d'erreur suivant : le document xml ne contient pas de niveau supérieur.
auriez-vous une solution ?
Merci
Catherine
l'extrait de mon sitemap :
<map:pipeline>
<map:match pattern="login">
<map:generate type="serverpages" src="xsp/login2.xsp" />
<map:transform type="xslt" src="styles/login.xsl" />
<map:serialize type="html" />
</map:match>
<map:match pattern="meeting-*.xml">
<map:generate type="serverpages" src="xsp/meetingChoice.xsp" />
<map:transform type="xslt" src="styles/meetingChoice.xsl" />
<map:transform type="cinclude" />
<map:serialize type="xml" />
</map:match>
<map:match pattern="Login-*.xml">
<map:generate type="file" src="cocoon:/meeting-{1}.xml" />
<map:serialize type="xml" />
</map:match>
<map:match pattern="Login-*.html">
<map:generate type="file" src="cocoon:/Login-{1}.xml" />
<map:transform type="xslt" src="styles/FullView.xsl" />
<map:serialize type="html" />
</map:match>
</map:pipeline>
<map:pipeline>
<map:match pattern="trans">
<map:generate type="file" src="cocoon:/Login-{1}.xml"/>
<map:transform type="xslt" src="styles/transcription.xsl"/>
<map:serialize type="html"/>
</map:match>
</map:pipeline>
--
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:06 UTC
webmaster@xmlfr.org
|