cwilms-loyalist's picture

Chris (@cwilmsloyalist)

Groups

  • Vuo Founder

Compositions

cwilms-loyalist's picture

Thank-you!!!! I don't know if I ever would have noticed that! It's working now!

cwilms-loyalist's picture

OK, Jaymie... the first XML was working the way I expected however I was using the output of the first XML as an input for searching the second XML and ran into a stange issue where it's returning an empty list. I can't figure out why... it looks right to me. I've gone over it about 30x and made changes to the naming I was using in the XML to simplify things and everything and I can't figure it out. Any ideas what I am missing? It's probably simple. I'm really confused because after your suggestion above about using quotes I had no trouble getting the first XML to work and the second one is even more basic than the first.

cwilms-loyalist's picture

Chris (@cwilmsloyalist), you need quotes around part of the XPath expression — replace /diplomas/program[code=scan] with /diplomas/program[code='scan'].

Thanks Jamie! This worked, looks like it's going to do what I need it to do. Fantastic work!

cwilms-loyalist's picture

I may be misunderstanding how to use the Find Subtrees using XPath node. I've created an expression that I thought would allow me to find value code and it's sibling values fullname and school but it isn't working like I thought it would.

The way I want it to work is to search by the program code and return with the fullname and school values that are it's siblings.

cwilms-loyalist's picture

Great!!! I'll try it out as soon as I can! I'll try and set some time aside tomorrow to do that. I'm away next week so I'll really try and squeeze it in. This is amazing!

Pages