[xsl] No to display the values which are already existing

Subject: [xsl] No to display the values which are already existing
From: "Dhananjay Pitani" <dhanu1306@xxxxxxxxxxx>
Date: Wed, 25 Jun 2003 17:22:52 +0000
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



Current Thread