02-28-2009 08:54 PM
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="node()|@*">
<xsl:copy><xsl:apply-templates select="node()|@*"/></xsl:copy>
</xsl:template>
<xsl:template match="text:p[text() = 'Replace me!']">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:value-of select="document('data.xml')/map/entry[@key='key1']/@value"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
05-26-2009 04:11 AM
05-27-2009 05:46 AM
05-27-2009 07:45 AM
Warning! This project is now unmaintained. The latest version 2.0.0 was released back in September 2006. You may still find it useful, since it is open source you are free to get the code and modify it, but be aware that the original author is no longer developing it.
05-28-2009 04:58 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.