Subject: Re: [xsl] Two different input get single output From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Mon, 07 Dec 2009 13:43:17 +0100 |
I have challenging for xsl creating of two different input xml and get single output xml file. Can you guide us how is prepare in easy way.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xsd" version="2.0">
<xsl:param name="url2" as="xsd:string" select="'test2009120703.xml'"/> <xsl:variable name="doc2" select="doc($url2)"/>
<xsl:template match="cases"> <derivations> <xsl:apply-templates select="section"/> </derivations> </xsl:template>
<xsl:template match="section/type[not(normalize-string)]"> <xsl:text> replace, </xsl:text> </xsl:template>
<xsl:template match="section/type[. = 'Drafting']"> <xsl:text> was created in drafting, </xsl:text> </xsl:template>
<xsl:template match="section/type[. = 'New']"> <xsl:text> is a new provision, </xsl:text> </xsl:template>
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Two different input get singl, Selvaganesh | Thread | RE: [xsl] Two different input get s, Selvaganesh |
[xsl] Two different input get singl, Selvaganesh | Date | Re: [xsl] Nicer way to change conte, Mukul Gandhi |
Month |