Subject: Re: [xsl] Conditional merge of 2 XML files From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Thu, 01 Sep 2005 20:40:52 +0200 |
Tempore 04:54:32, die 09/01/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Thomas Tarpin-Lyonnet <bartleby@xxxxxxxxxx>:
Where file_1.xml are the logs generated by a test campaign and file_2.xml are
the reference logs generated thanks to a test plan. The aim of doing
this is to
show all the tests that have been defined by the test plan but that we
forgot to
implement and then that don't appear in the logs.
I started working on a solution, but I'm getting stuck at this level (brain meltdown)
<xsl:template match="merge"> <xsl:variable name="test" select="document(test)"/> <xsl:variable name="reference" select="document(reference)"/> <xsl:apply-templates mode="merge" select="$reference/*"> <xsl:with-param name="test" select="$test/*"/> <xsl:with-param name="reference" select="$reference/*"/> </xsl:apply-templates> </xsl:template>
the input stays the same: <merge> <test>file_1.xml</test> <reference>file_2.xml</reference> </merge>
-- "NN= N?N/N4N1 OON9 N?ON4N-N= N?N/N4N1" - N#O N:ON1ON7O
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Conditional merge of 2 XM, Joris Gillis | Thread | Re: [xsl] Conditional merge of 2 XM, Thomas Tarpin-Lyonne |
Re: [xsl] Prefixes in templates, David Carlisle | Date | [xsl] Test for existence of attribu, Kevin L. Cobb |
Month |