• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

XML/XSL transformation and DocumentFragment resultant parsing

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. Thank you for reading my question. I am returning XML from a Tomcat servlet and transforming with XSL. i am converting this from MSXML to XHR. For whatever reason, if I feed in the source XML, evaluate does it's thing. However, if I transform XML using the stylesheet and the resultant is a DocumentFragment (doc_trans...set to resultDoc, the JS code evaluates to the "else"...alert("no"). I want to use an evaluate on the resultant document to determine how the number of <tr>. selectNodes allows this in MSXML..

Maybe need to convert the DocumentFragment before running evaluate? But to what? Thank you so much.


 
Everybody's invited. Even this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic