Subject: Re: [xsl] Solution Needed for DB output From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Sat, 18 Apr 2009 20:05:21 +0200 |
I am very new to xslt and i know basics of xslt only.
I tried to achieve the above output via key() function as explained in your Mueneuch -2 ( grouping - thread)method. But i get the same output as the db output.
I use jdeveloper as designing tool and oracle soa suite 10.1.3.1.0 as server and xslt version 1.0 ( i dont know whether xslt 2.0 is supported in soa server)
<getMatrixOutputCllection> <outputVar> <level_id>1</level_id> <assignee>jcooper</assignee> <reg>1000</reg> <gold>2000</gold> <sublevel>1</sublevel> <status>approve</status> </outputVar>
<outputVar> <level_id>1</level_id> <assignee>jcooper</assignee> <reg>1000</reg> <gold>2000</gold> <sublevel>1</sublevel> <status>reject</status> </outputVar>
<outputVar> <level_id>1</level_id> <assignee>jcooper</assignee> <reg>1000</reg> <gold>2000</gold> <sublevel>2</sublevel> <status>pending</status> </outputVar>
<outputVar> <level_id>1</level_id> <assignee>jcooper</assignee> <reg>1000</reg> <gold>2000</gold> <sublevel>3</sublevel> <status>yes</status> </outputVar>
<outputVar> <level_id>1</level_id> <assignee>jcooper</assignee> <reg>1000</reg> <gold>2000</gold> <sublevel>3</sublevel> <status>no</status> </outputVar>
<outputVar> <level_id>2</level_id> <assignee>jstein</assignee> <reg>6000</reg> <gold>4000</gold> <sublevel>1</sublevel> <status>go</status> </outputVar>
<outputVar> <level_id>2</level_id> <assignee>jstein</assignee> <reg>6000</reg> <gold>4000</gold> <sublevel>2</sublevel> <status>proceed</status> </outputVar>
<outputVar> <level_id>2</level_id> <assignee>jstein</assignee> <reg>6000</reg> <gold>4000</gold> <sublevel>2</sublevel> <status>pending</status> </outputVar> </getMatrixOutputCllection>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes"/> <xsl:strip-space elements="*"/>
<getMatrixOutputCllection> <level_id>1</level_id> <assignee>jcooper</assignee> <reg>1000</reg> <gold>2000</gold> <sublevel>1</sublevel> <status>approve</status> <status>reject</status> <sublevel>2</sublevel> <status>pending</status> <sublevel>3</sublevel> <status>yes</status> <status>no</status> <level_id>2</level_id> <assignee>jstein</assignee> <reg>6000</reg> <gold>4000</gold> <sublevel>1</sublevel> <status>go</status> <sublevel>2</sublevel> <status>proceed</status> <status>pending</status> </getMatrixOutputCllection>
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Solution Needed for DB output, balaganesh mohan | Thread | Re: [xsl] Solution Needed for DB ou, balaganesh mohan |
[xsl] Solution Needed for DB output, balaganesh mohan | Date | Re: [xsl] Solution Needed for DB ou, G. Ken Holman |
Month |