Results 1 to 2 of 2

Thread: Problem with xsl attribute

  1. #1
    Join Date
    Sep 2003

    Problem with xsl attribute

    I have the fallowing xml code:
    <table cellspacing="0" cellpadding="0" border="0">
    <td width="300" bgcolor="#ffffff">
    <td width="33" bgcolor="#ffffff">
    <td width="135" bgcolor="#ffffff" >

    I need the width of the table but i've only the with of the td.
    Someone have an idea how can i get the width of each td, to add their value and passing the result to the table attribute?
    Last edited by Mr R; 09-08-2003 at 02:46 PM.

  2. #2
    Join Date
    Dec 2002
    Calgary, Canada
    if I understand you correctly ,youwill need to run a template that will call it recursively and add the width and get total and then return it.

    search the google for XSLT recursive template

    am sure you will get an example or 2


    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center