Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

270
Views
¿Cómo leer el valor del producto en xls usando selectSingleNode?

Tengo una función getTotByMonth en el archivo xls, se usa para calcular el total mes por mes. Tengo que poner alguna condición para algún producto. para leer el producto que utilicé debajo de la línea var pl = plNode.selectSingleNode("root/select").getAttribute("pl");

 function getTotByMonth(plNode,nam){ var total = 0; var objectif = plNode.getAttribute("obj"); var mto = eval(plNode.selectNodes("mto")); var pl = plNode.selectSingleNode("root/select").getAttribute("pl"); if (pl == "SP") { //logic } } In the javascript line getting below error in this line

source.selectSingleNode("root/select").setAttribute("pl",savePL);

El error de tiempo de ejecución de Microsoft JScript 'selectSingleNode(...)' es nulo o no es una línea de objeto = 100, col = 2 (la línea está desplazada desde el inicio del bloque de script). Error devuelto por la propiedad o la llamada al método.

 could you please help me to read the product value.
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!