Both xml files I am dealing with are generated from MS Word 2007
here is the relevant XSLT snippet:
Expand|Select|Wrap|Line Numbers
- <xsl:template match="w:drawing[ancestor::w:p/w:r]">
- <img>
- <xsl:attribute name="src">
- <xsl:value-of select="document('agenda/word/_rels/document.xml.rels')/Relationships/Relationship[@id='rId102']"/>
- </xsl:attribute>
- <xsl:apply-templates />
- </img>
- </xsl:template>
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
- <Relationship Id="rId26" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target="header12.xml" />
- <Relationship Id="rId117" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer56.xml" />
- <Relationship Id="rId21" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer5.xml" />
- <Relationship Id="rId42" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer19.xml" />
- <Relationship Id="rId47" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer23.xml" />
- <Relationship Id="rId63" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer32.xml" />
- <Relationship Id="rId68" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target="header27.xml" />
- <Relationship Id="rId84" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer45.xml" />
- <Relationship Id="rId89" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target="header36.xml" />
- <Relationship Id="'rId102" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image11.jpeg" />
- </Relationships>