XSL and templates newbie

B

bjam

Hi, I used XML::Dumper from Perl's CPAN module to dump my output into
the following XML. I am trying to format this into an html page but
have been having problems traversing inside of sections. See below.
Ideally I would like the output to look as follows. Any help someone
can provide is most appreciated.


Output (with html tags applied)

TEST_1
AccountID 55667
ScheduleID 5
ShortName ABNAUK-0855-CEFL
hypotheis_test true

if the test was false I would like it to show up in red text
also what would be even better is if the hypothesis_test was a link so
that it would bring up the different statistical results embedded into
each test's xml under the stat_results tag that would be great. Again
any help you can provide is appreciated. Below is the code I was using
to this but it got tricky when trying to do the hypothesis section
which is it's own nested section and so is the stats_results section
below

style sheet I wrote:
=======================

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<basefont face="Verdana" size="2" />
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>

<!--
<xsl:template match="arrayref/item">
<table border="2" bgcolor="gray">
<tr>
<th align="left"><xsl:value-of select="@key"/></th>
<td>
<font face="verdana" size="2" color="white"><xsl:value-of
select="text()"/></font></td>
</tr>
</table>
</xsl:template>

-->

<xsl:template match="hashref/item[starts-with(@key,'TEST')]"
name="ben" >
<table border="0" bgcolor="gray">
<tr>
<th colspan="2" bgcolor="navy"><font color="white"><xsl:value-of
select="@key"/></font></th>
</tr>
<!-- all text items -->
<xsl:for-each select="hashref/item">
<xsl:if test="text()">
<tr>
<th align="left"><xsl:value-of select="@key"/></th>
<td><font face="verdana" size="2" color="white"><xsl:value-of
select="text()"/></font></td>
</tr>
</xsl:if>
</xsl:for-each>

<!-- all text items -->
<xsl:for-each select="/item[@key='hypothesis_result']">
<tr>
<th align="left"><xsl:value-of select="@key"/></th>
<td><font face="verdana" size="2" color="white"><xsl:value-of
select="text()"/></font></td>
</tr>
</xsl:for-each>

</table>
<!-- for spacing purposes between tests -->
<table border="0"><tr><td></td></tr><tr><td></td></tr></table>
</xsl:template>

<xsl:template match="/item[@key='hypothesis_result']" >
<tr>
<th align="left"><xsl:value-of select="@key"/></th>
<td><font face="verdana" size="2" color="blue"><xsl:value-of
select="."/></font></td>
</tr>
</xsl:template>

<!--
<xsl:template match="arrayref">
<th>Data</th>
<td>
<table border="2" bgcolor="cyan">
<xsl:for-each select="item">
<tr><td><xsl:value-of select="."/></td></tr>
</xsl:for-each>
</table>
</td>
<xsl:apply-templates />
</xsl:template>
-->

</xsl:stylesheet>

XML:
-----------


<?xml version="1.0" encoding="ISO8859-1" ?>
<?xml-stylesheet type="text/xsl" href="capacity_test.xsl"?>
<perldata>
<hashref memory_address="0x9429460">
<item key="TEST_1">
<hashref memory_address="0x93a96cc">
<item key="AccountID">55667</item>
<item key="ScheduleID">5</item>
<item key="ShortName">ABNAUK-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x93750d4">
<item key="0">
<arrayref memory_address="0x9398998">
<item key="0">
<arrayref memory_address="0x93a7bb8">
<item key="0">746</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x94242bc">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x93a7a50">
<item key="0">
<arrayref memory_address="0x93a7a44">
<item key="0">
<arrayref memory_address="0x93a79e4">
<item key="0">746</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x93745f8">
<item key="0">746</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x93a7a38">
<item key="0">746</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x93a3344">
<item key="0">745</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x93a79f0">
<item key="0">745</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x93a3308">
<item key="0">745</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x93a9258">
<item key="0">746</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x9424238">
<item key="MEAN">745.571428571429</item>
<item key="STD">0.534522483824854</item>
<item key="STD_ERROR">0.202030508910444</item>
<item key="confidence_interval_lower">744</item>
<item key="confidence_interval_upper">747</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_2">
<hashref memory_address="0x942d394">
<item key="AccountID">55670</item>
<item key="ScheduleID">6</item>
<item key="ShortName">DRESGR-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x942b054">
<item key="0">
<arrayref memory_address="0x942bc4c">
<item key="0">
<arrayref memory_address="0x942bc04">
<item key="0">3373</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x942d34c">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x942afac">
<item key="0">
<arrayref memory_address="0x942b1b0">
<item key="0">
<arrayref memory_address="0x942b168">
<item key="0">3375</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x93a7ac8">
<item key="0">3366</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x942b1a4">
<item key="0">3373</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x942b0a8">
<item key="0">3364</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x942b15c">
<item key="0">3373</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x942b06c">
<item key="0">3372</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x942afb8">
<item key="0">3374</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x942bd54">
<item key="MEAN">3371</item>
<item key="STD">4.24264068711931</item>
<item key="STD_ERROR">1.60356745147456</item>
<item key="confidence_interval_lower">3361</item>
<item key="confidence_interval_upper">3381</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_3">
<hashref memory_address="0x9427eb0">
<item key="AccountID">55673</item>
<item key="ScheduleID">4</item>
<item key="ShortName">RBCNCN-0855-CITG</item>
<item key="hypothesis_results">
<arrayref memory_address="0x942a408">
<item key="0">
<arrayref memory_address="0x942cdfc">
<item key="0">
<arrayref memory_address="0x9427d84">
<item key="0">3949</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x9427e68">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x942bca0">
<item key="0">
<arrayref memory_address="0x942bbe0">
<item key="0">
<arrayref memory_address="0x942a444">
<item key="0">3949</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x942bafc">
<item key="0">3947</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x942b00c">
<item key="0">3948</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x942a3b4">
<item key="0">3949</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x942a450">
<item key="0">3951</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x942a3f0">
<item key="0">3951</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x94294b4">
<item key="0">3951</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x942ce44">
<item key="MEAN">3949.42857142857</item>
<item key="STD">1.61834718742526</item>
<item key="STD_ERROR">0.611677741841153</item>
<item key="confidence_interval_lower">3946</item>
<item key="confidence_interval_upper">3953</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_4">
<hashref memory_address="0x94327ac">
<item key="AccountID">55673</item>
<item key="ScheduleID">11</item>
<item key="ShortName">RBCNCN-0855-CITG</item>
<item key="hypothesis_results">
<arrayref memory_address="0x942cc4c">
<item key="0">
<arrayref memory_address="0x943256c">
<item key="0">
<arrayref memory_address="0x9432524">
<item key="0">162</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x9432764">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x942cbe0">
<item key="0">
<arrayref memory_address="0x942be40">
<item key="0">
<arrayref memory_address="0x942bc10">
<item key="0">159</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x9427c7c">
<item key="0">153</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x942be58">
<item key="0">160</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x942cc94">
<item key="0">159</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x942bb50">
<item key="0">161</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x942ccd0">
<item key="0">160</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x942cbec">
<item key="0">163</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x94382ac">
<item key="MEAN">159.285714285714</item>
<item key="STD">3.09377254681538</item>
<item key="STD_ERROR">1.16933611026749</item>
<item key="confidence_interval_lower">152</item>
<item key="confidence_interval_upper">166</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_5">
<hashref memory_address="0x943c6f4">
<item key="AccountID">58279</item>
<item key="ScheduleID">7</item>
<item key="ShortName">RBCNUK-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x943809c">
<item key="0">
<arrayref memory_address="0x943778c">
<item key="0">
<arrayref memory_address="0x9437744">
<item key="0">4166</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x943c6ac">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x943259c">
<item key="0">
<arrayref memory_address="0x9432614">
<item key="0">
<arrayref memory_address="0x94381bc">
<item key="0">4160</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x943241c">
<item key="0">4153</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x9432638">
<item key="0">4162</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x94380fc">
<item key="0">4164</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x94381b0">
<item key="0">4163</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x94380cc">
<item key="0">4165</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x94381d4">
<item key="0">4168</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x943376c">
<item key="MEAN">4162.14285714286</item>
<item key="STD">4.74090608177306</item>
<item key="STD_ERROR">1.79189406878359</item>
<item key="confidence_interval_lower">4151</item>
<item key="confidence_interval_upper">4173</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_6">
<hashref memory_address="0x943bcfc">
<item key="AccountID">58367</item>
<item key="ScheduleID">8</item>
<item key="ShortName">INGLUK-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x939d0a4">
<item key="0">
<arrayref memory_address="0x942f560">
<item key="0">
<arrayref memory_address="0x942f518">
<item key="0">3439</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x943bcb4">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x942a45c">
<item key="0">
<arrayref memory_address="0x9437924">
<item key="0">
<arrayref memory_address="0x94378dc">
<item key="0">3441</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x94338f8">
<item key="0">3433</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x9437918">
<item key="0">3439</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x939cec4">
<item key="0">3427</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x94378d0">
<item key="0">3437</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x942d55c">
<item key="0">3438</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x9429520">
<item key="0">3440</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x9438060">
<item key="MEAN">3436.42857142857</item>
<item key="STD">4.89411697371247</item>
<item key="STD_ERROR">1.84980234281475</item>
<item key="confidence_interval_lower">3425</item>
<item key="confidence_interval_upper">3447</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_7">
<hashref memory_address="0x944905c">
<item key="AccountID">58372</item>
<item key="ScheduleID">9</item>
<item key="ShortName">CLYNFP-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x9424478">
<item key="0">
<arrayref memory_address="0x943ae08">
<item key="0">
<arrayref memory_address="0x943adcc">
<item key="0">2037</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x9449014">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x943bf48">
<item key="0">
<arrayref memory_address="0x94381e0">
<item key="0">
<arrayref memory_address="0x942bbd4">
<item key="0">2042</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x942f410">
<item key="0">2029</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x939880c">
<item key="0">2032</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x9438078">
<item key="0">2032</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x942be64">
<item key="0">2032</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x942bb74">
<item key="0">2037</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x9437a8c">
<item key="0">2037</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x942f41c">
<item key="MEAN">2034.42857142857</item>
<item key="STD">4.42933941113656</item>
<item key="STD_ERROR">1.67413293630923</item>
<item key="confidence_interval_lower">2024</item>
<item key="confidence_interval_upper">2044</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_8">
<hashref memory_address="0x94409fc">
<item key="AccountID">58376</item>
<item key="ScheduleID">10</item>
<item key="ShortName">BNPPUK-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x93a33ec">
<item key="0">
<arrayref memory_address="0x9449500">
<item key="0">
<arrayref memory_address="0x942f428">
<item key="0">200</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x94409b4">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x93f1f88">
<item key="0">
<arrayref memory_address="0x943836c">
<item key="0">
<arrayref memory_address="0x94492a8">
<item key="0">197</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x943ac70">
<item key="0">196</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x94335ec">
<item key="0">197</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x94491b8">
<item key="0">199</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x9449290">
<item key="0">200</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x943be7c">
<item key="0">199</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x943bec4">
<item key="0">201</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x94326d4">
<item key="MEAN">198.428571428571</item>
<item key="STD">1.81265393434993</item>
<item key="STD_ERROR">0.685118789044674</item>
<item key="confidence_interval_lower">194</item>
<item key="confidence_interval_upper">203</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="TEST_9">
<hashref memory_address="0x944a460">
<item key="AccountID">59368</item>
<item key="ScheduleID">13</item>
<item key="ShortName">BOALUK-0855-CEFL</item>
<item key="hypothesis_results">
<arrayref memory_address="0x943667c">
<item key="0">
<arrayref memory_address="0x943ad78">
<item key="0">
<arrayref memory_address="0x9449584">
<item key="0">32</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="hypothesis_test_results">
<hashref memory_address="0x944a418">
<item key="result">true</item>
</hashref>
</item>
<item key="sample_results">
<arrayref memory_address="0x943c760">
<item key="0">
<arrayref memory_address="0x943bf54">
<item key="0">
<arrayref memory_address="0x939d074">
<item key="0">1</item>
</arrayref>
</item>
<item key="1">
<arrayref memory_address="0x942f2c0">
<item key="0">3</item>
</arrayref>
</item>
<item key="2">
<arrayref memory_address="0x942640c">
<item key="0">9</item>
</arrayref>
</item>
<item key="3">
<arrayref memory_address="0x9449224">
<item key="0">17</item>
</arrayref>
</item>
<item key="4">
<arrayref memory_address="0x9277208">
<item key="0">17</item>
</arrayref>
</item>
<item key="5">
<arrayref memory_address="0x9438198">
<item key="0">23</item>
</arrayref>
</item>
<item key="6">
<arrayref memory_address="0x942ae8c">
<item key="0">32</item>
</arrayref>
</item>
</arrayref>
</item>
</arrayref>
</item>
<item key="stats_results">
<hashref memory_address="0x9437a20">
<item key="MEAN">14.5714285714286</item>
<item key="STD">11.0733485278414</item>
<item key="STD_ERROR">4.18533234077308</item>
<item key="confidence_interval_lower">-10</item>
<item key="confidence_interval_upper">40</item>
<item key="critical_value">5.9565</item>
<item key="degrees_of_freedom">6</item>
<item key="distribution">tdistr</item>
<item key="interval_type">integer</item>
<item key="level_of_significance">0.000499999999999972</item>
<item key="sample_size">7</item>
<item key="type_of_test">two tailed test</item>
</hashref>
</item>
</hashref>
</item>
<item key="totals">
<hashref memory_address="0x9374f9c">
<item key="test_results">
<hashref memory_address="0x925d6fc">
<item key="accepted_tests">9</item>
<item key="rejected_tests">NONE</item>
<item key="total_tests">9</item>
</hashref>
</item>
</hashref>
</item>
</hashref>
</perldata>
 
?

=?ISO-8859-1?Q?J=FCrgen_Kahrs?=

bjam said:
Hi, I used XML::Dumper from Perl's CPAN module to dump my output into
the following XML. I am trying to format this into an html page but
have been having problems traversing inside of sections. See below.
Ideally I would like the output to look as follows. Any help someone
can provide is most appreciated.

There is a bug in your XML data.
The encoding is not valid.
On most systems, it should be "ISO-8859-1".
<?xml version="1.0" encoding="ISO8859-1" ?>
<?xml-stylesheet type="text/xsl" href="capacity_test.xsl"?>
<perldata>

You shouldnt post such an amount of data here.
This kind of data is a typical example of what happens
when someone uses black-box code without knowing how
to handle the tools.
 
B

bjam

Kahrs,

Thanks for the response and noticing the ISO line. However, to be
truly informative for this, do you have any ideas on how to do the
parsing? I know what the "black box" does that is not the problem.
The problem lies in trying to format the xml to look the way I
described below. If you have some experience with creating such a
transformation, I would love to hear your solutions. Thanks again.

-- B
 
?

=?ISO-8859-1?Q?J=FCrgen_Kahrs?=

bjam said:
The problem lies in trying to format the xml to look the way I
described below. If you have some experience with creating such a
transformation, I would love to hear your solutions. Thanks again.

Well, yesterday evening I played around a bit
with a script that almost did it. But the script
was written in XMLgawk and you are looking for
a XSL solution.

You should restate the problem and post a shorter
example here. I am sure that one of the XSL gurus
here can help you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top