Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ricka
  • Order by date
  1. ricka

    Doing a lookup using a 2nd XML document.

    I think we have a classic case of a communication breakdown, I really dont understand what you are asking now, but when I say I'm getting 'nothing' then my browser shows an empty white screen. Obviously I'm not trying to be vague, but it's not always easy to see things from other peoples point...
  2. ricka

    Doing a lookup using a 2nd XML document.

    Sorry for being a little vague,.. I am expecting 'one' to be displayed.
  3. ricka

    Doing a lookup using a 2nd XML document.

    You are correct, author/@word should give me the word attribute but my example is still returning nothing (however it also doesnt return any errors) Here's my files.... tutorial.xml <tutorial> <author idref="1"/> </tutorial> author.xml <authors> <author id="1" word="one">...
  4. ricka

    Doing a lookup using a 2nd XML document.

    Funny you should suggest that cos it was the first thing I tried was something similar.... <xsl:copy-of select="document('author.xml')/authors/author[@id =current()/@idref]@word"/> This threw up errors, so I have now tried your suggestions and it returns nothing because /@word would be looking...
  5. ricka

    Doing a lookup using a 2nd XML document.

    I'm trying to perform a lookup to a 2nd XML document in order to convert a code to a real value, but I can't find any examples that work with my file format. I have tutorial.xml <tutorial> <author idref="1"/> </tutorial> .. and author.xml <authors> <author id="1" word="one">...

Part and Inventory Search

Back
Top