Hi Trady,
I got the result layout you wanted using the following XSLT stylesheet:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:cs="urn:cs"
exclude-result-prefixes="cs msxsl" >
<xsl:output method="text" omit-xml-declaration="yes" indent="no"/>
<xsl:template match="order">
<xsl:apply-templates select="workflows"/>
</xsl:template>
<xsl:template match="workflows">
<xsl:for-each select="workflow/items/orderitem">
<xsl:value-of select="@id"/>
<xsl:text> </xsl:text>
<xsl:for-each select="jobs/job">
<xsl:value-of select="@id"/>
<xsl:text> </xsl:text>
</xsl:for-each>
<xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Hope this helps :)
MikeyIsMe
Practically a Posting Shark
802 posts since Nov 2010
Reputation Points: 88
Solved Threads: 69
Skill Endorsements: 10