[Home] [By Thread] [By Date] [Recent Entries]
Lea Allison wrote:
The problem I find with this method, is that by using a parameter / variable to import the second document I have to use a for-each loop with the $importedDoc to be able to apply the templates to this data. Why not just <xsl:apply-templates select="$importedDoc/*"/> ? What do you mean by "I view outputed XML from the stylesheet" ? Pass its name as parameter too.Actually it would be ideal to get two combined documents returned to the users browser as XML. ie. <DOCUMENT>
<xsl:element name="{$imported-doc-name}">
<!-- Process imported doc -->
<xsl:apply-templates select="$imported-doc" mode="imported"/>
<xsl:element>
<!-- Process main doc -->
<xsl:apply-templates/>
</DOCUMENT>-- Oleg Tkachenko Multiconn International, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



