🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8429

calculs dans une feuille xsl

#8429
From: iceman
Date: Tue, 16 Oct 2001 13:21
72 lines
3914 bytes
This is a multi-part message in MIME format.

------=_NextPart_000_0018_01C15656.390B90C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Bonjour.
J'ai un sniffer qui me cr=E9e un fichier log de la forme suivante, avec =
le contenu de chaque trame IP en hexad=E9cimal :
...
<PACKET ... >0100e34 ... </PACKET>
...
Je veux en faire un fichier texte structur=E9 (xml ou non) ressemblant =
par exemple =E0:
ip source : 192.168.1.1
ip destination : 192.168.1.12
taille du paquet : 60 octets
etc.
Pour cela, je pensais utiliser une transformation XSL mais comment =
int=E9grer directement les proc=E9dures de d=E9coupage de texte, de =
conversation hex>texte ... ?
Faut-il utiliser xsp et si oui, comment l'int=E9grer au fichier XSL ?

Fred

------=_NextPart_000_0018_01C15656.390B90C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Bonjour.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>J'ai un sniffer qui me cr=E9e un =
fichier log de la=20
forme suivante, avec le contenu de&nbsp;chaque trame IP en=20
hexad=E9cimal&nbsp;:</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>&lt;<FONT =
color=3D#ff0000>PACKET</FONT>=20
... &gt;<FONT color=3D#000000>0100e34 ...</FONT> &lt;/<FONT=20
color=3D#ff0000>PACKET</FONT>&gt;</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2>Je =
veux en faire un=20
fichier texte structur=E9 (xml ou non)&nbsp;ressemblant par exemple=20
=E0:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ip source : 192.168.1.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ip destination&nbsp;: =
192.168.1.12</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>taille du paquet : 60 =
octets</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>etc.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Pour cela, je pensais utiliser une =
transformation=20
XSL mais comment int=E9grer directement les proc=E9dures de d=E9coupage =
de texte, de=20
conversation hex&gt;texte ... ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Faut-il utiliser xsp et si oui, comment =
l'int=E9grer=20
au fichier XSL ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Fred</FONT></DIV></BODY></HTML>

------=_NextPart_000_0018_01C15656.390B90C0--
Technical Details
Message-ID: <9qhc8c$cbe$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,41c727cb486e5a51,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-10-16 06:25:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "iceman" <f.heitzmann@acamaya.com>
Newsgroups: fr.comp.text.xml
Subject: calculs dans une feuille xsl
Date: Tue, 16 Oct 2001 15:21:26 +0200
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 73
Message-ID: <9qhc8c$cbe$1@s1.read.news.oleane.net>
NNTP-Posting-Host: acaena.rain.fr
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----=_NextPart_000_0018_01C15656.390B90C0"
X-Trace: s1.read.news.oleane.net 1003238476 12654 194.51.81.98 (16 Oct 2001 13:21:16 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Tue, 16 Oct 2001 13:21:16 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000