Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Easy Question

From: "Alex" <alex_whittle@------.--.-->
To: NULL
Date: 5/7/2004 12:34:00 PM
Paul,

Yes, exactly that.  The XML looks like

<customer>
    <name>Company Co</name>
   <order>
        <orderid>1</orderid>
       <product>test prod</product>
   </order>
</customer>
<customer>
    <name>Other Company Co</name>
   <order>
        <orderid>12</orderid>
       <product>test2 prod</product>
   </order>
   <order>
        <orderid>13</orderid>
       <product>test3 prod</product>
   </order>
</customer>

Thanks.

"Paul" <removethisbitthenitspaulyates@h...> wrote in message
news:2g19mlF35mb8U1@u......
> Alex wrote:
> > I am new to XSL and having problems trying to display a table made up
> > of 2 columns. The 1st column needs to display a Customer name and the
> > 2nd column displays any orders they have.
> >
> > I know I need to do something similar to setting the rowspan of the
> > 1st column to equal the total number of entries in the 2nd column,
> > but cant quite work it out ?  any help would be great.
> >
> > Alex
>
> Unsure if you're having problems with the HTML itself or the XSL to
produce
> the it?
>
> Is what you're looking to make?
>
> <TABLE>
>  <TR>
>   <TD rowspan="2">hello</TD>
>   <TD>aaa</TD>
>  </TR>
>  <TR>
>   <TD>bbb</TD>
>  </TR>
> </TABLE>
>
> What does your XML look like?
>
>




transparent
Print
Mail
Digg
delicious
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