Visit Our Home Page
 Explored,Designed,Delivered.sm
Welcome, Guest. Please Login or Register (Password Reminder)


Creativyst Forums 
Support & Discussion 
Register Help Search Login  
   
   Creativyst Forums-TOP
   Web Site Design
   horizontal duplication?
(Moderator: admin)
 Author
Topic: horizontal duplication?       [Link=25]
Reply Please log in first.
Stevo
New Member


Posts: 2




     
    horizontal duplication?   (Date posted: 10/29/02 at 09:32:12) Quote Modify Delete

Say I have an XML doc like this

<OBJECT>
<LP>
<NAME>insert lp1 name here</NAME>
<LINK>lp1/pages/axx1_01.html</LINK>
<IMAGE>images/lp.gif</IMAGE>
</LP>
<LP>
<NAME>summary</NAME>
<LINK>lp6/pages/axx6_01.html</LINK>
<IMAGE>images/lp.gif</IMAGE>
</LP>
</OBJECT>

An an HTML page like this

<table border="0" cellspacing="0" cellpadding="0" DATASRC="#xmlDoc" DATAFLD="LP">
<tr>
<td>
<A DATASRC="#xmlDoc" DATAFLD="LINK" target="mainFrame"><img DATASRC="#xmlDoc" DATAFLD="IMAGE" border="0"></a>
</td>
</tr>
</table>

How can I make the images duplicate accross the page horizontally and not vertically. Can I make it duplicate a cell instead of the whole table?

   E-Mail   Ip: Logged
JRepici
Administrator


Posts: 328





Gender:
      JohnRHere2
    Re: horizontal duplication?   (Date posted: 11/04/02 at 14:53:01) Quote Modify Delete

Stevo,

Ok, data-binding works well, but it can't wander to far from the structure of the original XML file.

To solve this problem (and another question you asked in another thread here) I'll try and figure out a little DOM for XML code. I have to warn you though, I'm no guru on this facet of DOM programming.

ok, here's your XML I've named it tst.xml.




And here's the HTML file to display it.




A test of this can be found here.

HTH,

       -John

Last modification: JRepici - 11/04/02 at 14:53:01

   E-Mail   Ip: Logged
Reply Please log in first.
Pages: 1
Jump to:

YaBB Board c 2000
YaBB Programming Team
 



















© Copyright 2002 - 2008 Creativyst, Inc.