[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] copy from one xml to another
Subject: [xsl] copy from one xml to another From: "Erik Stunkat" <Erik.Stunkat@xxxxxxx> Date: Mon, 22 Jul 2002 17:31:20 +0200 |
Hello, We use JunitReport to generate xml testresults. For this case we have one main class which gets data from a xml file. The output looks like this: <testsuites> <testcase name="testGeneric" time="1.391"></testcase> <testcase name="testGeneric" time="0.937"></testcase> </testsuites> instead of "testGeneric" should be some data from another file. The data.xml holds this information: <Workflow> <TestCase> <Action>com.poet.ess.qa.extendedtests.testclasses.company.CreateCompany</Action> <UserID>admin</UserID> <DataID>CPQ_EMEA</DataID> </TestCase> <TestCase> <Action>com.poet.ess.qa.extendedtests.testclasses.company.CreateUser</Action> <UserID>admin</UserID> <DataID>EUCO_100</DataID> </TestCase> </Workflow> I need to write a stylesheet which combines the first and the second one: (eg writes the information from <Action> into <testcase name="">> <testcase name="CreateCompany" time="1.391"></testcase> <testcase name="CreateUser" time="1.391"></testcase> The order is the same. Any ideas? Thanks! erik Stunkat POET Software XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] <xsl:fallback> use with M, Michael Kay | Thread | Re: [xsl] copy from one xml to anot, Joerg Heinicke |
[xsl] Re: Query re XMLSpy XPath eng, Dimitre Novatchev | Date | [xsl] Re: Query re XMLSpy XPath eng, Elliotte Rusty Harol |
Month |
Keywords