English
Forum

Data from XML-File read

 
- Page 1 -



Christof
Neuß
Hi,

I have following challenge:

I get XML-Files of Bundesanzeiger, in them Bilanzen/Jahresabschlüsse hinterlegt are (per firm a XML-File). tappt im dunkeln include means Text and numbers. The pure Text interested me on the place not. task is it, The right numbers auszulesen and a Tabellenform To bring (z.B. dBase-File or CSV-File). i know not yet, whether the numbers always on same place stand (should but really so his).

has itself already time someone with something like engage? XML-Files having Yes a designed construction. whom can naturally read. But with difficulty, if to the only for a small proposition make must. Gibts something like as an Unit, a Inc o.ä. this.

THANK YOU for each Info, each Help.
 
Win10 16 GB RAM
05/15/08  
 



 
- Page 1 -



Thomas
Freier
there The *.xml as *.html stored go can, could the following interestingly his: [web]https://www.sautin.com/html-to-rtf/developers.htm[/web].
the Free HTMLtoRTF is conditioned useable (Zeichensatz).
 
Gruß Thomas
Windows XP SP2, XProfan X2
05/16/08  
 



 
- Page 2 -



Thomas
Freier
New Test: The Free HTMLtoRTF.exe created one good *.doc with eingebetteten tables, if The *.html Presentation in ANSI is.
How can I with XProfan a UTF-8 File To ANSI konvertieren?
 
Gruß Thomas
Windows XP SP2, XProfan X2
05/18/08  
 




H.Brill
And if You The .xml before into normalen
windowseigenen editor load and then as
ANSI abspeicherst ?
make the often in umgekehrter point with my
Datendateien for PDA, means ANSI To UTF 8.

there it Yes only reiner Text is, ought to the still functions.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
05/18/08  
 




Thomas
Freier
Yes, by hand is it no trouble by me but a Programmcode.
but the must Christof self solve.
enclosed a Test with Franks List and The *.xml as *.txt in ANSI.

428 kB
Hochgeladen:05/18/08
Downloadcounter139
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
05/18/08  
 




Frank
Abbing

How can I with XProfan a UTF-8 File To ANSI konvertieren?


I had me moreover time a Mini-Dll in Assembler written. in the Grunde are but only a couple Translate$ necessary and ought to then still to some extent slippy run out.
I mail you The Dll and the code if You magst; and a little ASM rule.
 
05/18/08  
 




Ragnar
Rehbein
Have me today too straight with UTF-8 bait must.
I needed a Conversion of ANSI To UTF-8.

The Längenbestimmung the resultierenden Strings has first not so functions How expects, therefore The something umständlich erscheinende method with the detach the NULL-Bytes.
CompileMarkSeparation
 $H windows.ph
 {$cleq}

proc AnsiToUTF8

    parameters ansistring$
    declare unicode$, utf8$, laenge&
    laenge& = len(ansistring$)*2
    unicode$ = mkstr$(chr$(0),laenge&)
    ~MultiByteToWideChar(~CP_ACP,0,Addr(ansistring$),-1,addr(unicode$),laenge&)
    laenge& = ~WideCharToMultiByte(~CP_UTF8,0,Addr(unicode$),-1,0,0,0,0)
    UTF8$ = mkstr$(chr$(0),laenge&)
    ~WideCharToMultiByte(~CP_UTF8,0,Addr(unicode$),len(unicode$),Addr(UTF8$),laenge&,0,0)
    utf8$ = substr$(utf8$,1,chr$(0))
    return utf8$

endproc

proc UTF8ToAnsi

    parameters utf8$
    declare ansistring$, unicode$, laenge&
    laenge& = len(utf8$) * 2
    unicode$ = mkstr$(chr$(0),laenge&)
    ~MultiByteToWideChar(~CP_UTF8,0,Addr(utf8$),-1,Addr(unicode$),laenge&)
    ansistring$ = mkstr$(chr$(0),laenge&)
    ~WideCharToMultiByte(~CP_ACP,0,Addr(unicode$),-1,Addr(ansistring$),laenge&,0,0)
    ansistring$ = substr$(ansistring$,1,chr$(0))
    return ansistring$

endproc

cls
declare x$
x$ = ansiToUTF8(Rön Réne)
print x$
writeini c:utf8.txt,code,utf8code=x$
x$ = UTF8ToAnsi(x$)
print x$
writeini c:utf8.txt,code,ansicode=x$
waitinput

Greeting Ragnar
 
05/19/08  
 




Rolf
Koch
Ragnar,
only short Info:
If you XPSE uses (How one sees), then You do not need The Header einzubinden (z.B. $H windows.ph). XPSE has these already intus
 
05/19/08  
 



Habs time dupliziert:  [...] 
 
05/19/08  
 



Rolf Koch
Ragnar,
only short Info:
If you XPSE uses (How one sees), then You do not need The Header einzubinden (z.B. $H windows.ph). XPSE has these already intus


I find still, because his Source self no xpse needed. (separate it hierbei xpse obviously Yes only used has wg. whom Kompilerschaltern)
 
05/19/08  
 




Rolf
Koch
@iF: clear have already right, however relating itself my testimony the einleitende {$cleq} -
Ergo one of both
Do you understood ? *lol*
 
05/19/08  
 




Ragnar
Rehbein
iF

I find still, because his Source self no xpse needed. (separate it hierbei xpse obviously Yes only used has wg. whom Kompilerschaltern)


very

its sozusagen gewachsener code..
Have the time quick in 5 mins. manage want, but then has it still longer gedauert.
be not yet so pleased, because the Proceduren something unclear attend.
MultiByteToWideChar and WideCharToMultiByte behaviour itself not yet integrally so How I the from the MSDN entnehme.

The crucial Erkenntnis is, that one both functions need circa a Conversion of ANSI To UTF-8 To achieve. the wished I in first line kundtun.
The gutgemeinten Examples To this trouble, in this and Rolands Forum, functions of my opinion to unfortunately not.

Greeting Ragnar
 
05/19/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.758 Views

Untitledvor 0 min.
Thomas Zielinski08/02/24
Axel Berse07/12/24
H.Brill03/24/24
Erasmus.Herold01/06/23
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie