Subject: Re: [xsl] XSLT: Taking Value of One Attribute and Smearing it Across multiple times From: George Cristian Bina <george@xxxxxxxxxxxxx> Date: Fri, 04 May 2007 15:27:42 +0300 |
Best Regards, George --------------------------------------------------------------------- George Cristian Bina - http://aboutxml.blogspot.com/ <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
I am new to XSLT. I have this problem to resolve.
For a given XML tree like this, where a single value is specified for a range of hours -- from hour 1 to end hour 10, I would like to explode this single value ten times.
i.e., for a source XML like this,
<?xml version="1.0"?> <offers> <fcst start_hr="1" end_hr="10" value="100"/> </offers>
I need an output like this... (explode the value of 100 from hr=1 to hr=10, ten times.)
100,100,100,100,100,100,100,100,100,100
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT: Taking Value of One Att, Rex Rex | Thread | Re: [xsl] XSLT: Taking Value of One, Rex Rex |
[xsl] XSLT: Taking Value of One Att, Rex Rex | Date | Re: [xsl] XSLT: Taking Value of One, Rex Rex |
Month |