I've tried Google but it's not coming up with what I need.
From Access I'm exporting a file to xml in the following format:
Expand|Select|Wrap|Line Numbers
- <XMLTemp>
- <Who>JoeSmith</Who>
- <Contact>Billy Joe</Contact>
- <telephone>123457980</telephone>
- <PostCode>XX1 2XX</PostCode>
- <When>01/01/2009</When>
- <Who>JoeSmith</Who>
- <Contact>Brenda George</Contact>
- <telephone>3216549870</telephone>
- <PostCode>XX5 3XX</PostCode>
- <When>01/01/2009</When>
- <Who>KateLee</Who>
- <Contact>Iain Smith</Contact>
- <telephone>45687354189</telephone>
- <PostCode>AB1 2XX</PostCode>
- <When>01/01/2009</When>
- </XMLTemp>
Expand|Select|Wrap|Line Numbers
- <XMLTemp>
- <Who>JoeSmith
- <Person>
- <Contact>Billy Joe</Contact>
- <telephone>123457980</telephone>
- <PostCode>XX1 2XX</PostCode>
- <When>01/01/2009</When>
- </Person>
- <Person>
- <Contact>Brenda George</Contact>
- <telephone>3216549870</telephone>
- <PostCode>XX5 3XX</PostCode>
- <When>01/01/2009</When>
- </Person>
- </Who>
- <Who>KateLee
- <Person>
- <Contact>Iain Smith</Contact>
- <telephone>45687354189</telephone>
- <PostCode>AB1 2XX</PostCode>
- <When>01/01/2009</When>
- </Person>
- </Who>
- </XMLTemp>
I know about the for-each code:
Expand|Select|Wrap|Line Numbers
- <xsl:for-each select="//XMLtemp[*****]">
I'm guessing it'll start [Who=, but I can't figure out how to make it equal the currently selected 'who'.
Thanks in advance
Mandi