EDN Admin
Well-known member
How i check
and
is available in xsl. when xsl is running
<pre class="prettyprint <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform
<xslutput method="xml" indent="yes"/>
<xsl:template match="/xmlResponse
<xsl:copy>
<xsl:apply-templates select="document(02.xml)/*/Person"/>
<xsl:apply-templates select="document(04.xml)/*/Person"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@* | node()
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
[/code]
<br/>
View the full article
Code:
select="document(02.xml)/*/Person"/
Code:
select="document(04.xml)/*/Person"/
<pre class="prettyprint <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform
<xslutput method="xml" indent="yes"/>
<xsl:template match="/xmlResponse
<xsl:copy>
<xsl:apply-templates select="document(02.xml)/*/Person"/>
<xsl:apply-templates select="document(04.xml)/*/Person"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@* | node()
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
[/code]
<br/>
View the full article