I am currently at work and left the book at home. I was just trying to learn how to use it.
This is what I have so far:
xml where I want to pull from called source.xml:
Code:
<book>
<Chapter>
<Section>
<SecTitle/>
</Section>
<Caution>Caution - THIS IS IT</Caution>
</Chapter>
</book>
Here is the XSLT calling the document funntion:
Code:
<xsl:template match="JBU:revTEXT">
<span style="background-color:yellow; ">
<xsl:value-of select="document('source.xml')/Book/Chapter/Caution"/>
<xsl:apply-templates/>
</span>
</xsl:template>
The XML processed but I dont see the source information.
Thanks for the help