xsl-list
[Top] [All Lists]

No to display the values which are already existing

2003-06-25 10:22:52
This is my xml

<Store>
 <Title>
       <Author>Steve</Author>
       <Name>XSL</Name>
 </Title>
 <Title>
       <Author>Steve</Author>
       <Name>XML</Name>
 </Title>
 <Title>
       <Author>Dan</Author>
       <Name>HTML</Name>
 </Title>
 <Title>
       <Author>Dan</Author>
       <Name>XSL</Name>
 </Title>
</Book>

I want to display the above xml as a html table with two columns Author and Titlle. My task is to display the Author's name only once. The output should be like this

Author      Title

Steve        XSL
               XML
Dan           HTML
               XSL

I am trying to use preceding-sibling axis to acheive this. But I am unable to get the results as I wanted.

Thanks,
Jay

_________________________________________________________________
Gift yourself a holiday. Treat your family like royalty. http://www.flexihols.com/2003/index.php


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list