Click here to Skip to main content
14,836,311 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: VS2005 doesn't like my XML Schema Pin
Stuart Dootson6-Mar-10 4:58
professionalStuart Dootson6-Mar-10 4:58 
GeneralRe: xml code editor Pin
Covean2-Mar-10 22:21
MemberCovean2-Mar-10 22:21 
QuestionMultiple children in Node question Pin
RCoate1-Mar-10 20:04
MemberRCoate1-Mar-10 20:04 
AnswerRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 21:02
professionalStuart Dootson1-Mar-10 21:02 
GeneralRe: Multiple children in Node question Pin
RCoate1-Mar-10 21:56
MemberRCoate1-Mar-10 21:56 
GeneralRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 22:04
professionalStuart Dootson1-Mar-10 22:04 
GeneralRe: Multiple children in Node question Pin
RCoate2-Mar-10 11:16
MemberRCoate2-Mar-10 11:16 
AnswerRe: Multiple children in Node question Pin
RCoate2-Mar-10 19:35
MemberRCoate2-Mar-10 19:35 
Solved it (with a bit of xPath trickery).

The answer was to go to each file node and then back track through parent levels to get the other data.

<xsl:for-each select="DBAccount/DBFolder/DBFile/DBPart/DBDocument/DBVersion">
	<File>
		<Person>
			<xsl:value-of select="../../../Title"/>
		</Person>
		<Title>
			<xsl:value-of select="../Title"/>
		</Title>
		<BoxLocation>
			<xsl:value-of select="../DBMetadataFieldValue/DBMetadataValue/Text"/>
		</BoxLocation>
		<FileName>
			<xsl:value-of select="./ArchiveFileName"/>
		</FileName>
		<VersionNumber>
			<xsl:value-of select="./Number"/>
		</VersionNumber>
	</File>
</xsl:for-each>

GeneralRe: Multiple children in Node question Pin
Stuart Dootson2-Mar-10 21:46
professionalStuart Dootson2-Mar-10 21:46 
QuestionHow to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson28-Feb-10 7:39
MemberONeil Tomlinson28-Feb-10 7:39 
AnswerRe: How to de-batch very large XMLDocument into bit size chunks Pin
daveyerwin28-Feb-10 8:44
Memberdaveyerwin28-Feb-10 8:44 
GeneralRe: How to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson1-Mar-10 6:33
MemberONeil Tomlinson1-Mar-10 6:33 
QuestionUnclosed tr tag Pin
John Jones II26-Feb-10 4:35
MemberJohn Jones II26-Feb-10 4:35 
AnswerRe: Unclosed tr tag Pin
Richard MacCutchan26-Feb-10 5:23
mveRichard MacCutchan26-Feb-10 5:23 
AnswerRe: Unclosed tr tag Pin
Stuart Dootson26-Feb-10 7:45
professionalStuart Dootson26-Feb-10 7:45 
QuestionXML schema - Element name used to identify item problem... - need to use the element name to identify value when importing into SQL 2005 tables Pin
VicarH25-Feb-10 7:37
MemberVicarH25-Feb-10 7:37 
QuestionDisplay a image in picturebox Pin
kpuneeth723-Feb-10 20:36
Memberkpuneeth723-Feb-10 20:36 
AnswerRe: Display a image in picturebox Pin
Stuart Dootson23-Feb-10 20:50
professionalStuart Dootson23-Feb-10 20:50 
GeneralRe: Display a image in picturebox [modified] Pin
kpuneeth723-Feb-10 21:01
Memberkpuneeth723-Feb-10 21:01 
GeneralRe: Display a image in picturebox Pin
Stuart Dootson23-Feb-10 21:36
professionalStuart Dootson23-Feb-10 21:36 
GeneralRe: Display a image in picturebox Pin
kpuneeth723-Feb-10 23:53
Memberkpuneeth723-Feb-10 23:53 
GeneralRe: Display a image in picturebox Pin
Stuart Dootson24-Feb-10 0:08
professionalStuart Dootson24-Feb-10 0:08 
GeneralRe: Display a image in picturebox Pin
kpuneeth724-Feb-10 1:26
Memberkpuneeth724-Feb-10 1:26 
QuestionMultiple group using Muenchian Method [modified] Pin
ONeil Tomlinson23-Feb-10 4:15
MemberONeil Tomlinson23-Feb-10 4:15 
AnswerRe: Multiple group using Muenchian Method Pin
Stuart Dootson23-Feb-10 20:47
professionalStuart Dootson23-Feb-10 20:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.