Administration des Import/Export, (Web, Web Services, PDA, WidGet, Fat Client)
XAS.Services
  XML Kiosk  
Technologie XAS.Technology Version V 6.0.1
Dernière modification Dimanche 21 Février 2010 Par Zaïr BEZGHICHE
Dernière vérification Mardi 9 Mars 2010 Par Support France
ThèmeAdministration des Import/Export, (Web, Web Services, PDA, WidGet, Fat Client) Fonction MODIMP.IMPStartXmlBook

Prototype
Function IMPStartXmlBook (IdXml As Integer, iFormat As Integer) As Integer
Usage
Administration-des-Import-Export.IMPStartXmlBook(...)
HTTP (GET,POST)SOAP WSDLSOAP RESTXML-RPC
Format de sortie
XML HTML TEXT EXCEL(CSV)

Code Source - développement open source
Function IMPStartXmlBook (IdXml As Integer, iFormat As Integer) As Integer
Function IMPStartXmlBook (IdXml As Integer, iFormat As Integer) As Integer
Dim Ret%
Dim i%
Dim j%

Dim sGlobBook$
Dim Cpt%
For i = 0 To 10
    TypeTable(i) = 0
    NameTable(i) = ""
    NameBookMark(i) = ""
    ValueBookMark(i) = ""
    ChampNumCompta(i) = ""
Next i
For i = 0 To 30
    For j = 0 To 30
	CurNomChamp(i, j) = ""
    Next j
Next i

Ret = XasXmlStart(IdXml, 0)
Ret = XasXmlSearchNode(IdXml, 5, "Id=" + CStr(iFormat), "", "")
Ret = XasXMLGetAttributbyName(IdXml, "BookMark", sGlobBook)
For i = 1 To 40 Step 4
    XasSleep 1
    If GetCharByIndice(sGlobBook, ",", i) <> "" Then
	Cpt = Cpt + 1
	CurXmlTable(Cpt) = UCase$(GetCharByIndice(sGlobBook, ",", i))
	CurXmlBook(Cpt) = GetCharByIndice(sGlobBook, ",", i + 1)
	Ret = XasXMLGetAttributbyName(IdXml, CurXmlBook(Cpt), CurXmlData(Cpt))
	CurXmlType(Cpt) = Val(GetCharByIndice(sGlobBook, ",", i + 2))
	If CurXmlType(Cpt) = 0 Then
	    CurXmlType(Cpt) = 1
	End If
	CurXmlChamp(Cpt) = UCase$(GetCharByIndice(sGlobBook, ",", i + 3))
    End If
Next i

IMPStartXmlBook = Cpt
End Function

Références XAS.Technology
XasXMLStart , XasXMLSearchNode , Cstr , XasXMLGetAttributByName , XasSleep , GetCharByIndice , UCase , Val ,

Audience
Cette documentation est destinée aux personnes s'intéressant aux systèmes d'information collaboratifs.
Les Webservices, les architectures collabortives et distribuées, les moteurs transactionnelles et les concepts de programmation orientés objet.


XAS Services - Zaïr BEZGHICHE - Copyright 1991-2011 tous droits réservés- Powered by XAS.Technology