Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Grouping/Sorting Problem

From: SarahLund@-----------.---------.---
To: NULL
Date: 10/6/2006 12:07:00 PM

Michelle, Thank you for your reply. I have been using the nodeset function 
and do come close but of course not just right. Is it possible to use one xsl 
file to generate an xml file and then also process the newly created xml file 
into HTML display? 
Thank you,
Sarah

"Michelle Carlson" wrote:

> Sarah,
> Explore using the XSLT processor's nodeset function or use XSLT 2.0.
> I don't think you can do what you need to using a single transform and
> XSLT 1.0 without using processor extension functions.
> I was able to get the information grouped and sorted, but can't
> reference that nodeset in XSLT 1.0 to display the values in tabular
> columns without using the nodeset extension function specific to my
> XSLT processor. To avoid processor extensions and use XSLT 1.0, you'd
> need to do multiple transformations.
> 1. XML to XML transform to group and sort the nodes; your result
> transform might look something like this:
> <Data>
> <Module displayOrder="10" nID="4656" name="Base Unit Module">
> <Category displayOrder="10" nID="21" name="Unit"/>
> <Perf_Category displayOrder="10" nID="91" name="Elevation"/>
> <Category displayOrder="20" nID="67" name="Unit Roof"/>
> <Perf_Category displayOrder="30" nID="10" name="Unit Airflow"/>
> <Perf_Category displayOrder="40" nID="13" name="Htg"/>
> <Category displayOrder="50" nID="43" name="Frame"/>
> </Module>
> <Module displayOrder="20" nID="4658" name="Fan Module">
> <Category displayOrder="10" nID="96" name="Fan Module"/>
> <Category displayOrder="20" nID="63" name="Fan Size"/>
> <Perf_Category displayOrder="20" nID="23" name="Airflow"/>
> <Perf_Category displayOrder="90" nID="30" name="AbsPower"/>
> </Module>
> </Data>
> </Selection>
> 2. XML to HTML transform to generate the table using position of nodes
> to determine whether they are in the first or second column.
> 
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent