Bonjour,
J'ai un batch de transformation qui me pose problème. la
transformation en ligne de commande se passe bien alors que le
batch est très très long. (transformation avec un gros fichier
XML).
Le code ci dessous représente la partie transformation en
batch,est ce que quelqu'un pourrait me dire s'il y a des
incohérences ?
merci beaucoup
try
{
TransformerFactory tFactory =
TransformerFactory.newInstance();
Transformer transformer =
tFactory.newTransformer(new StreamSource(xslFile));
FileOutputStream fOut = new FileOutputStream(resultFile);
OutputStreamWriter out = new OutputStreamWriter(fOut, "ASCII");
transformer.transform(
new StreamSource(xmlFile),
new StreamResult(new
FileOutputStream(resultFile)));
}
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
--
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)
Received on Thu Sep 9 10:50:53 2004