Find Jobs
Hire Freelancers

Parse an xml file using fast-xml-parser -- 2

$10-30 USD

Cerrado
Publicado hace alrededor de 4 años

$10-30 USD

Pagado a la entrega
I need to parse an xml file that is inside another xml file. Please modify the follow code to parse it correctly. Thank you. You should use the package [login to view URL] The second xml is on the route ["AttachedDocument"]["cac:Attachment"]["cac:ExternalReference"]["cbc:Description"] When you parse it you should be able to get an json object. To check if is working you should be able to get the route ["Invoice"]["cbc:ID"] on the second xml. //Parse xml file Intermediate obj const tObj = [login to view URL](xmlData,options); //[login to view URL](data, 'base64').toString() const jsonObj = [login to view URL](tObj,options); const prueba = jsonObj["Invoice"]; if(prueba != undefined){ numFactura = jsonObj["Invoice"]["cbc:ID"]; saveInvoice(jsonObj,numFactura); } else { //Get Invoice text const invoice = jsonObj["AttachedDocument"]["cac:Attachment"]["cac:ExternalReference"]["cbc:Description"].toString(); const tObj1 = [login to view URL](invoice,options); const jsonObj1 = [login to view URL](tObj1, options).toString(); numFactura = 'Prueba2'; //jsonObj1["Invoice"]["cbc:ID"]; saveInvoice(jsonObj1,numFactura);
ID del proyecto: 24523804

Información sobre el proyecto

13 propuestas
Proyecto remoto
Activo hace 4 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
13 freelancers están ofertando un promedio de $30 USD por este trabajo
Avatar del usuario
I can make this multi-level parser. My average project completion time is within 3-5 hours on the same day. The skills I have include PHP, HTML5, CSS3, JavaScript, jQuery, WordPress Themes & Plugins, Web Scrapers & Automation Bots, User Scripts, Macros, and much more. If you have any questions or concerns. Feel free to message me via chat to clarify any details.
$30 USD en 1 día
4,9 (123 comentarios)
6,4
6,4
Avatar del usuario
Hello I have experience with JavaScript , including working with XML parsing. I checked fast-xml-parser and it looks easy to use.
$25 USD en 2 días
4,9 (127 comentarios)
5,8
5,8
Avatar del usuario
Hello, ⭐⭐⭐⭐⭐ i am interested in this project , can begin now waiting your answer on chat Regards ⭐⭐⭐⭐⭐
$30 USD en 1 día
4,9 (53 comentarios)
4,8
4,8
Avatar del usuario
Hi! My name is Renan and I'm a desktop/web developer. I can help you with this on NodeJS. Can you send me a PM so I can send you the job after it's done?
$30 USD en 7 días
5,0 (2 comentarios)
4,7
4,7
Avatar del usuario
Thanks for submitting a project. You’re looking for a expert. As I am an talent web full-stack deleloper with JSON, XML, JAVASCRIPT, CakePHP for 9years. This is exactly what I specialise in. Talk about a perfect match! I’ll keep this short and we can go into more details when we chat. Before anything else, I know you’re probably curious to see my work. Please have a look at my portfolio. I enjoy working with you that take good job seriously. I took the time to check out your website and you certainly fit the bill. Before we start working together, I will review your existing requirement, discuss software specifications and interview you about your visual brand. I will also explain my process, my personality and creation timelines. Finally, to answer your question about software, I’d love to chat with you over other chat room to see if we’re a good fit for each other. I look forward to our chat. Have a great day! Thanks. Oleg.
$50 USD en 7 días
5,0 (7 comentarios)
3,8
3,8
Avatar del usuario
Hello there! :) I am an experienced developer and I can help you with this project! Send me a message so we can discuss details and start it already!
$23 USD en 1 día
5,0 (7 comentarios)
3,2
3,2
Avatar del usuario
Hi, sir! I have a rich experience of parsing xml and json. I have checked my attachment file and I am sure I can parse it correctly. Let's have a chat and start work right now. best regards.
$25 USD en 1 día
5,0 (4 comentarios)
2,6
2,6
Avatar del usuario
Hi, Now, i'm avalible I'm a Web developer with 2+ yearh exp. My skill: PSD to HTML, Sass, bootstrap, javascript, es6, reactjs, nodejs, express, mobile, UI, animation. Please send me a psd and we can work together. I'm new but you can trust from me to complete this project Best regards,
$27 USD en 3 días
5,0 (3 comentarios)
1,7
1,7
Avatar del usuario
Hi, How are you? I've read the job description carefully and understood the requirements. Yes, I'll do it now. CAN WE DISCUSS MORE IN THE CHAT ROOM? Looking forward to your positive response. Thanks & Regards, Anvesh
$50 USD en 1 día
0,0 (0 comentarios)
2,5
2,5
Avatar del usuario
Dear friend, I am a skilled engineer with experience in the field you require. Currently I am working in Germany, and part of my experience is in parsing long xml files. The current speed I manage is of 1,5 M of records in 3 minutes, every record corresponds to a companies with 30 tags. The mentioned file has 3 Gb. Please, feel free to contact me for further information. Saludos Luis Ramos
$20 USD en 15 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de COLOMBIA
Bogota, Colombia
4,9
11
Forma de pago verificada
Miembro desde ago 15, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.