Solved

DSO to DOM

Posted on 2001-06-15
3
377 Views
Last Modified: 2012-05-04
Hi!

I want to convert this DSO implementation to a DOM one.  I want to be able to do something like DATAPAGESIZE (15 records by examples) and browsing the table with right and left button.  Is it possible with dom, if yes, can you give me a small example?  The idea behind this is that when the user scroll over the table and do enter on it (in dhtml) then I can send to a JSP the ID of the performance that is hide in the table.


Here's my code:

<XML id="dsoperf">
<?xml version="1.0"?>
<EVENEMENT>

 <SORTING>
 <SORTTYPE>01 OCTOBRE   2001</SORTTYPE>


  <PERFORMANCE>
      <TITRE>Star Wars</TITRE>
      <PERFORMANCEDATE>04 OCTOBRE   2001 07:06</PERFORMANCEDATE>
      <HALL>H1</HALL>
      <AVSEAT>250</AVSEAT>
      <STCODE>0</STCODE>
      <CITY>Paris</CITY>
      <SEATED></SEATED>
      <PERFORMANCEID>22</PERFORMANCEID>
      <TEVENT>Film d action lyrique</TEVENT>
      <PID>22</PID>
  </PERFORMANCE>
 
 </SORTING>
</EVENEMENT>
</XML>
<TABLE ID="explorerTableNodeCat" width="100%" border="0" cellspacing="0" cellpadding="0" DATASRC="#dsoperf" DATAPAGESIZE="1">
<TR class="explorerSort">
  <TD><SPAN DATAFLD="SORTTYPE"></SPAN></TD>
</TR>
<TR>
<TD>
 <TABLE ID="explorerTableNode" width="100%" border="0" cellspacing="0" cellpadding="0" DATASRC="#dsoperf" DATAFLD="PERFORMANCE" DATAPAGESIZE="17" >
     <THEAD class="explorerThead">
    <TD height="16"></TD>
          <TH height="16">ShortTitle</TH>
          <TH height="16">Performance Date</TH>
    <TH height="16">Hall</TH>
    <TH height="16">Available Seat</TH>
    <TH height="16">Status</TH>
    <TH height="16">City</TH>
    <TH height="16">Seated</TH>
     </THEAD>
     <TR class="explorerLineOff2">
  <TD height="16"><SPAN DATAFLD="PID"></SPAN></TD>
     <TD height="16"> <SPAN ID="TITRE" DATAFLD="TITRE"></SPAN></TD>
     <TD id="PERFORMANCEDATE" height="16"> <SPAN DATAFLD="PERFORMANCEDATE"></SPAN></TD>
  <TD id="HALL"   height="16"> <SPAN DATAFLD="HALL"></SPAN></TD>
     <TD id="AVSEAT" height="16"> <SPAN DATAFLD="AVSEAT"></SPAN></TD>
  <TD id="STCODE" height="16"> <SPAN DATAFLD="STCODE"></SPAN></TD>
     <TD id="CITY"   height="16"> <SPAN DATAFLD="CITY"></SPAN></TD>
  <TD id="SEATED" height="16"> <SPAN DATAFLD="SEATED"></SPAN></TD>

  </TR>
</TABLE>
</TD>
</TR>
</TABLE>
0
Comment
Question by:benoitliard
3 Comments
 
LVL 3

Expert Comment

by:dragosh
ID: 6194867
i dont' know if this is what you want,but maybe will help you

http://www.15seconds.com/Issue/010409.htm
0
 
LVL 11

Accepted Solution

by:
sachiek earned 100 total points
ID: 6201219
Hi there
  But...Do u want paging concept implemeneted with XML or XSL? Let me know in detail..If u want paging concept then it can be get soo finely..
  Let me have a reply from u

Sachi
 

 
0
 

Author Comment

by:benoitliard
ID: 6201422
Hi!
Any implementation.  I want the best solution.  If you have one, let's go!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JPA XML tag definition 2 68
Viewing XML as a table on a Mac 3 128
XML XSL Message 3 21
tutorial for ebay api 3 34
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question