cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SANSONE, AARON M [Non-Pharmacia/1000]" <aaron.m.sans...@monsanto.com>
Subject XSLT Pipeline Transformation Inconsitencies (bugs?)
Date Thu, 20 Dec 2001 00:25:29 GMT
Sorry for the cross post, but I don't know where this belongs.

I am using what appears to be an  A=B=C  situation with pipelines but I am
seeing three completely different results.

I am using the default XSLT Transfomer:
org.apache.cocoon.transformation.TraxTransformer and below you will find the
three pipelines I am using, in each pipeline I add a (dynamic) step which
should have the same end (A=B=C). 

Pipeline A is the simplest transformation from a static XML file.  Pipeline
B adds a transformation that was the static read file from pipeline A.
Pipeline C adds a SQL transformation that was the static read file from
pipeline B.  Again, A=B=C.


<!-- First Pipeline A -->
<map:match pattern="testAddSelf">
	<map:generate type="file" src="docs/upgmaTreeWOD.xml"/>  <!--raw
matrix XML-->
	<map:transform type="xslt"
src="stylesheets/similarityMatrixAddSelf.xsl"/> <!-- returns matrix with
diagonal -->
	<map:serialize/>
</map:match>

<!-- Second Pipeline B -->
<map:match pattern="testAddSelfXML">
	<map:generate type="file" src="docs/upgmaTreeSQL.xml"/>  <!--raw SQL
XML-->
	<map:transform type="xslt"
src="stylesheets/similarityMatrixSQLToXML.xsl"/> <!-- returns raw matrix XML
-->
	<map:transform type="xslt"
src="stylesheets/similarityMatrixAddSelf.xsl"/> <!-- returns matrix with
diagonal -->
	<map:serialize/>
</map:match>

<!-- Third Pipeline C -->
<map:match pattern="testAddSelfSQL">
	<map:generate type="file" src="sql/getSimilarityMatrix.xml"/>
	<map:transform type="sql">
		<map:parameter name="use-connection" value="fp"/>
		<map:parameter name="show-nr-of-rows" value="false"/>
		<map:parameter name="crop" value="M"/>
		<map:parameter name="referenceIndividualIDs"
value="3426621,3426581,3433401,3426641,3426601,3433421"/>
	</map:transform>
	<map:transform type="xslt"
src="stylesheets/similarityMatrixSQLToXML.xsl"/> <!-- returns raw matrix XML
-->
	<map:transform type="xslt"
src="stylesheets/similarityMatrixAddSelf.xsl"/> <!-- returns matrix with
diagonal -->
	<map:serialize/>
</map:match>


However, I get very diferent results in the serialized data.  Most
noticeable is that pipeline A's pos and last attributes are much different
than pipeline C's which are both using the excat same XSL file and data and
when serialized have the same XML.  Also, Pipeline B loses all the tags for
no apparent reason.  I have also included the input XML and XSL files at the
end of the results.   WHY IS THIS HAPPENING?



<!-- Pipeline A results -->
<similarityMatrix>
	<referenceIndividual id="3426581" name="01CW16">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.966" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.487" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.508" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.471" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.488" nonMissingComparisons=""></comparisonIndividual> 
		<testTag last="13" pos="2"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3426601" name="01CWI6">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.966" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.499" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.467" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual> 
		<testTag last="13" pos="4"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3433401" name="01DHD10">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.487" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.883" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.868" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.879" nonMissingComparisons=""></comparisonIndividual> 
		<testTag last="13" pos="6"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3433421" name="01DHD16">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.508" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.499" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.883" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.866" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.828" nonMissingComparisons=""></comparisonIndividual> 
		<testTag last="13" pos="8"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3426621" name="01DHD31">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.471" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.467" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.868" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.866" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.810" nonMissingComparisons=""></comparisonIndividual> 
		<testTag last="13" pos="10"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3426641" name="01DKD2">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.488" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.879" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.828" nonMissingComparisons=""></comparisonIndividual> 
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.810" nonMissingComparisons=""></comparisonIndividual> 
		<testTag last="13" pos="12"></testTag>
	</referenceIndividual>
</similarityMatrix>
<!-- Processed by Apache Cocoon 2.0 in 120 milliseconds. -->




<!-- Pipeline B Results -->
<?xml version="1.0" encoding="UTF-8"?>
  3426581 
  01CW16 
  3426601 
  01CWI6 
  0.9660 
  

  3426581 
  01CW16 
  3433401 
  01DHD10 
  0.4870 
  

  3426581 
  01CW16 
  3433421 
  01DHD16 
  0.5080 
  

  3426581 
  01CW16 
  3426621 
  01DHD31 
  0.4710 
  

  3426581 
  01CW16 
  3426641 
  01DKD2 
  0.4880 
  

  3426601 
  01CWI6 
  3426581 
  01CW16 
  0.9660 
  

  3426601 
  01CWI6 
  3433401 
  01DHD10 
  0.4730 
  

  3426601 
  01CWI6 
  3433421 
  01DHD16 
  0.4990 
  

  3426601 
  01CWI6 
  3426621 
  01DHD31 
  0.4670 
  

  3426601 
  01CWI6 
  3426641 
  01DKD2 
  0.4730 
  

  3433401 
  01DHD10 
  3426581 
  01CW16 
  0.4870 
  

  3433401 
  01DHD10 
  3426601 
  01CWI6 
  0.4730 
  

  3433401 
  01DHD10 
  3433421 
  01DHD16 
  0.8830 
  

  3433401 
  01DHD10 
  3426621 
  01DHD31 
  0.8680 
  

  3433401 
  01DHD10 
  3426641 
  01DKD2 
  0.8790 
  

  3433421 
  01DHD16 
  3426581 
  01CW16 
  0.5080 
  

  3433421 
  01DHD16 
  3426601 
  01CWI6 
  0.4990 
  

  3433421 
  01DHD16 
  3433401 
  01DHD10 
  0.8830 
  

  3433421 
  01DHD16 
  3426621 
  01DHD31 
  0.8660 
  

  3433421 
  01DHD16 
  3426641 
  01DKD2 
  0.8280 
  

  3426621 
  01DHD31 
  3426581 
  01CW16 
  0.4710 
  

  3426621 
  01DHD31 
  3426601 
  01CWI6 
  0.4670 
  

  3426621 
  01DHD31 
  3433401 
  01DHD10 
  0.8680 
  

  3426621 
  01DHD31 
  3433421 
  01DHD16 
  0.8660 
  

  3426621 
  01DHD31 
  3426641 
  01DKD2 
  0.81 
  

  3426641 
  01DKD2 
  3426581 
  01CW16 
  0.4880 
  

  3426641 
  01DKD2 
  3426601 
  01CWI6 
  0.4730 
  

  3426641 
  01DKD2 
  3433401 
  01DHD10 
  0.8790 
  

  3426641 
  01DKD2 
  3433421 
  01DHD16 
  0.8280 
  

  3426641 
  01DKD2 
  3426621 
  01DHD31 
  0.81 
  



  
<!-- Pipeline C's Results -->
<similarityMatrix>
	<referenceIndividual id="3426581" name="01CW16">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.966" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.487" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.508" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.471" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.488" nonMissingComparisons=""></comparisonIndividual>
		<testTag last="6" pos="1"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3426601" name="01CWI6">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.966" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.499" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.467" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual>
		<testTag last="6" pos="2"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3433401" name="01DHD10">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.487" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.883" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.868" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.879" nonMissingComparisons=""></comparisonIndividual>
		<testTag last="6" pos="3"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3433421" name="01DHD16">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.508" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.499" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.883" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.866" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.828" nonMissingComparisons=""></comparisonIndividual>
		<testTag last="6" pos="4"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3426621" name="01DHD31">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.471" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.467" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.868" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.866" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="1.000" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="0.810" nonMissingComparisons=""></comparisonIndividual>
		<testTag last="6" pos="5"></testTag>
	</referenceIndividual>
	<referenceIndividual id="3426641" name="01DKD2">
		<comparisonIndividual id="3426581" name="01CW16"
similarity="0.488" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426601" name="01CWI6"
similarity="0.473" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433401" name="01DHD10"
similarity="0.879" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3433421" name="01DHD16"
similarity="0.828" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426621" name="01DHD31"
similarity="0.810" nonMissingComparisons=""></comparisonIndividual>
		<comparisonIndividual id="3426641" name="01DKD2"
similarity="2.000" nonMissingComparisons=""></comparisonIndividual>
		<testTag last="6" pos="6"></testTag>
	</referenceIndividual>
</similarityMatrix>

<!-- Processed by Apache Cocoon 2.0 in 200 milliseconds. -->







<!-- upgmaTreeSQL.xml -->
<?xml version="1.0" encoding="UTF-8" ?> 
<page xmlns:sql="http://apache.org/cocoon/SQL/2.0">
<rowset name="individual_list">
<row>
  <referenceindividualid>3426581</referenceindividualid> 
  <referenceindividualname>01CW16</referenceindividualname> 
  <comparedindid>3426601</comparedindid> 
  <comparedindname>01CWI6</comparedindname> 
  <simple_matching_coefficient>0.9660</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426581</referenceindividualid> 
  <referenceindividualname>01CW16</referenceindividualname> 
  <comparedindid>3433401</comparedindid> 
  <comparedindname>01DHD10</comparedindname> 
  <simple_matching_coefficient>0.4870</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426581</referenceindividualid> 
  <referenceindividualname>01CW16</referenceindividualname> 
  <comparedindid>3433421</comparedindid> 
  <comparedindname>01DHD16</comparedindname> 
  <simple_matching_coefficient>0.5080</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426581</referenceindividualid> 
  <referenceindividualname>01CW16</referenceindividualname> 
  <comparedindid>3426621</comparedindid> 
  <comparedindname>01DHD31</comparedindname> 
  <simple_matching_coefficient>0.4710</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426581</referenceindividualid> 
  <referenceindividualname>01CW16</referenceindividualname> 
  <comparedindid>3426641</comparedindid> 
  <comparedindname>01DKD2</comparedindname> 
  <simple_matching_coefficient>0.4880</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426601</referenceindividualid> 
  <referenceindividualname>01CWI6</referenceindividualname> 
  <comparedindid>3426581</comparedindid> 
  <comparedindname>01CW16</comparedindname> 
  <simple_matching_coefficient>0.9660</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426601</referenceindividualid> 
  <referenceindividualname>01CWI6</referenceindividualname> 
  <comparedindid>3433401</comparedindid> 
  <comparedindname>01DHD10</comparedindname> 
  <simple_matching_coefficient>0.4730</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426601</referenceindividualid> 
  <referenceindividualname>01CWI6</referenceindividualname> 
  <comparedindid>3433421</comparedindid> 
  <comparedindname>01DHD16</comparedindname> 
  <simple_matching_coefficient>0.4990</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426601</referenceindividualid> 
  <referenceindividualname>01CWI6</referenceindividualname> 
  <comparedindid>3426621</comparedindid> 
  <comparedindname>01DHD31</comparedindname> 
  <simple_matching_coefficient>0.4670</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426601</referenceindividualid> 
  <referenceindividualname>01CWI6</referenceindividualname> 
  <comparedindid>3426641</comparedindid> 
  <comparedindname>01DKD2</comparedindname> 
  <simple_matching_coefficient>0.4730</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433401</referenceindividualid> 
  <referenceindividualname>01DHD10</referenceindividualname> 
  <comparedindid>3426581</comparedindid> 
  <comparedindname>01CW16</comparedindname> 
  <simple_matching_coefficient>0.4870</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433401</referenceindividualid> 
  <referenceindividualname>01DHD10</referenceindividualname> 
  <comparedindid>3426601</comparedindid> 
  <comparedindname>01CWI6</comparedindname> 
  <simple_matching_coefficient>0.4730</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433401</referenceindividualid> 
  <referenceindividualname>01DHD10</referenceindividualname> 
  <comparedindid>3433421</comparedindid> 
  <comparedindname>01DHD16</comparedindname> 
  <simple_matching_coefficient>0.8830</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433401</referenceindividualid> 
  <referenceindividualname>01DHD10</referenceindividualname> 
  <comparedindid>3426621</comparedindid> 
  <comparedindname>01DHD31</comparedindname> 
  <simple_matching_coefficient>0.8680</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433401</referenceindividualid> 
  <referenceindividualname>01DHD10</referenceindividualname> 
  <comparedindid>3426641</comparedindid> 
  <comparedindname>01DKD2</comparedindname> 
  <simple_matching_coefficient>0.8790</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433421</referenceindividualid> 
  <referenceindividualname>01DHD16</referenceindividualname> 
  <comparedindid>3426581</comparedindid> 
  <comparedindname>01CW16</comparedindname> 
  <simple_matching_coefficient>0.5080</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433421</referenceindividualid> 
  <referenceindividualname>01DHD16</referenceindividualname> 
  <comparedindid>3426601</comparedindid> 
  <comparedindname>01CWI6</comparedindname> 
  <simple_matching_coefficient>0.4990</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433421</referenceindividualid> 
  <referenceindividualname>01DHD16</referenceindividualname> 
  <comparedindid>3433401</comparedindid> 
  <comparedindname>01DHD10</comparedindname> 
  <simple_matching_coefficient>0.8830</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433421</referenceindividualid> 
  <referenceindividualname>01DHD16</referenceindividualname> 
  <comparedindid>3426621</comparedindid> 
  <comparedindname>01DHD31</comparedindname> 
  <simple_matching_coefficient>0.8660</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3433421</referenceindividualid> 
  <referenceindividualname>01DHD16</referenceindividualname> 
  <comparedindid>3426641</comparedindid> 
  <comparedindname>01DKD2</comparedindname> 
  <simple_matching_coefficient>0.8280</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426621</referenceindividualid> 
  <referenceindividualname>01DHD31</referenceindividualname> 
  <comparedindid>3426581</comparedindid> 
  <comparedindname>01CW16</comparedindname> 
  <simple_matching_coefficient>0.4710</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426621</referenceindividualid> 
  <referenceindividualname>01DHD31</referenceindividualname> 
  <comparedindid>3426601</comparedindid> 
  <comparedindname>01CWI6</comparedindname> 
  <simple_matching_coefficient>0.4670</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426621</referenceindividualid> 
  <referenceindividualname>01DHD31</referenceindividualname> 
  <comparedindid>3433401</comparedindid> 
  <comparedindname>01DHD10</comparedindname> 
  <simple_matching_coefficient>0.8680</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426621</referenceindividualid> 
  <referenceindividualname>01DHD31</referenceindividualname> 
  <comparedindid>3433421</comparedindid> 
  <comparedindname>01DHD16</comparedindname> 
  <simple_matching_coefficient>0.8660</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426621</referenceindividualid> 
  <referenceindividualname>01DHD31</referenceindividualname> 
  <comparedindid>3426641</comparedindid> 
  <comparedindname>01DKD2</comparedindname> 
  <simple_matching_coefficient>0.81</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426641</referenceindividualid> 
  <referenceindividualname>01DKD2</referenceindividualname> 
  <comparedindid>3426581</comparedindid> 
  <comparedindname>01CW16</comparedindname> 
  <simple_matching_coefficient>0.4880</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426641</referenceindividualid> 
  <referenceindividualname>01DKD2</referenceindividualname> 
  <comparedindid>3426601</comparedindid> 
  <comparedindname>01CWI6</comparedindname> 
  <simple_matching_coefficient>0.4730</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426641</referenceindividualid> 
  <referenceindividualname>01DKD2</referenceindividualname> 
  <comparedindid>3433401</comparedindid> 
  <comparedindname>01DHD10</comparedindname> 
  <simple_matching_coefficient>0.8790</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426641</referenceindividualid> 
  <referenceindividualname>01DKD2</referenceindividualname> 
  <comparedindid>3433421</comparedindid> 
  <comparedindname>01DHD16</comparedindname> 
  <simple_matching_coefficient>0.8280</simple_matching_coefficient> 
  </row>
<row>
  <referenceindividualid>3426641</referenceindividualid> 
  <referenceindividualname>01DKD2</referenceindividualname> 
  <comparedindid>3426621</comparedindid> 
  <comparedindname>01DHD31</comparedindname> 
  <simple_matching_coefficient>0.81</simple_matching_coefficient> 
  </row>
  </rowset>
</page>






<!-- upgmaTreeWOD.xml -->
<?xml version="1.0" encoding="UTF-8" ?> 
<similarityMatrix>
<referenceIndividual name="01CW16" id="3426581">
  <comparisonIndividual nonMissingComparisons="" similarity="0.966"
name="01CWI6" id="3426601" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.487"
name="01DHD10" id="3433401" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.508"
name="01DHD16" id="3433421" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.471"
name="01DHD31" id="3426621" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.488"
name="01DKD2" id="3426641" /> 
  </referenceIndividual>
<referenceIndividual name="01CWI6" id="3426601">
  <comparisonIndividual nonMissingComparisons="" similarity="0.966"
name="01CW16" id="3426581" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.473"
name="01DHD10" id="3433401" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.499"
name="01DHD16" id="3433421" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.467"
name="01DHD31" id="3426621" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.473"
name="01DKD2" id="3426641" /> 
  </referenceIndividual>
<referenceIndividual name="01DHD10" id="3433401">
  <comparisonIndividual nonMissingComparisons="" similarity="0.487"
name="01CW16" id="3426581" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.473"
name="01CWI6" id="3426601" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.883"
name="01DHD16" id="3433421" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.868"
name="01DHD31" id="3426621" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.879"
name="01DKD2" id="3426641" /> 
  </referenceIndividual>
<referenceIndividual name="01DHD16" id="3433421">
  <comparisonIndividual nonMissingComparisons="" similarity="0.508"
name="01CW16" id="3426581" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.499"
name="01CWI6" id="3426601" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.883"
name="01DHD10" id="3433401" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.866"
name="01DHD31" id="3426621" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.828"
name="01DKD2" id="3426641" /> 
  </referenceIndividual>
<referenceIndividual name="01DHD31" id="3426621">
  <comparisonIndividual nonMissingComparisons="" similarity="0.471"
name="01CW16" id="3426581" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.467"
name="01CWI6" id="3426601" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.868"
name="01DHD10" id="3433401" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.866"
name="01DHD16" id="3433421" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.810"
name="01DKD2" id="3426641" /> 
  </referenceIndividual>
<referenceIndividual name="01DKD2" id="3426641">
  <comparisonIndividual nonMissingComparisons="" similarity="0.488"
name="01CW16" id="3426581" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.473"
name="01CWI6" id="3426601" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.879"
name="01DHD10" id="3433401" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.828"
name="01DHD16" id="3433421" /> 
  <comparisonIndividual nonMissingComparisons="" similarity="0.810"
name="01DHD31" id="3426621" /> 
</referenceIndividual>
</similarityMatrix>





<!--XSL Transformation: similarityMatrixAddSelf.xsl -->
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

<xsl:template match="similarityMatrix">
	<similarityMatrix>

 <xsl:variable name="refinds" select="*"/>
	<xsl:apply-templates/>
	</similarityMatrix>
</xsl:template>

<xsl:template match="referenceIndividual">
	<referenceIndividual name="{@name}" id="{@id}">
	<xsl:variable name="pos" select="position()"/>
	<xsl:variable name="last" select="last()"/>
	<xsl:apply-templates>
		<xsl:with-param name="refIndPos" select="$pos"/>
	</xsl:apply-templates>

	<xsl:if test="position()=last()">
		<comparisonIndividual nonMissingComparisons=""
similarity="2.000" name="{@name}" id="{@id}"/>
	</xsl:if>
		<testTag pos="{$pos}" last="{$last}"/>
	</referenceIndividual>
</xsl:template>

<xsl:template match="comparisonIndividual">
	<xsl:param name="refIndPos" select="-1"/>
	<xsl:if test="$refIndPos = position()">
		<comparisonIndividual nonMissingComparisons=""
similarity="1.000" name="{../@name}" id="{../@id}"/>
	</xsl:if>
	<comparisonIndividual
nonMissingComparisons="{@nonMissingComparisons}" similarity="{@similarity}"
name="{@name}" id="{@id}"/>
</xsl:template>

</xsl:stylesheet>






Sincerly,

Aaron M. Sansone

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message