Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to combine XML and HTML

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 14-02-2010
Member
 
Join Date: Feb 2010
Posts: 644
How to combine XML and HTML
  

Hi all,

I am web site designer with programmer. I use html on a frontend in my program. I want mix my html to XML in table data. How it is possible. Please suggest some code or tool to produce combination of XML and HTML. Thanks in advance.

Reply With Quote
  #2  
Old 14-02-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
How to combine XML and HTML

You need to create nested XML processing in you program. Under normal circumstances, we have obtained from the database query result set can be large, so returned to the client from the server, the data will be divided into several pages to pass separately. Use of TABLE element DATAPAGESIZE property can specify the record set on each page that contains the number of entries. Thanks and reply.
Reply With Quote
  #3  
Old 14-02-2010
Member
 
Join Date: May 2008
Posts: 2,007
Re: How to combine XML and HTML

You can combine XML data to HTML page. If the XML data format is symmetric, then whether it is mapped to the ADO recordset is still bound to the form element, the effect will be very good. In practical applications, XML data are also many examples of non-symmetrical, such as the author of a book may be more than one, which is mapping and binding will have some trouble. Solution to the problem is to use nested. Each line corresponds to a table is still the main element, each column also corresponds to a sub-element. For the repeat element, the use of a nested form. Check and reply.
Reply With Quote
  #4  
Old 14-02-2010
Member
 
Join Date: Apr 2008
Posts: 2,000
Re: How to combine XML and HTML

You need to create a TABLE element, and data island ID assigned to the DATAFLD property. For the individual XML elements, such as <isbn>, create a TD element, and set the corresponding DATAFLD properties. For the repeat elements, in the TD element nested inside a form. Using a single row in the form of a separate display author information. On this way you can combine XML and HTML. Check and reply.
Reply With Quote
  #5  
Old 14-02-2010
Member
 
Join Date: May 2008
Posts: 2,291
How to combine XML and HTML

You can use the DSO. DSO to XML data island ADO recordset handle as one of the major advantage is that the use of ADO provides a variety of methods to access data sources, especially when the data island with similar SPAN, DIV, and INPUT elements such as HTML binding. Generally, these elements shows a record of the first set of records, in order to traverse the sets of records here, you can use ADO methods: Move, MoveFirst, MoveLast, MoveNext, and MovePrevious. Response functions such as the creation of a button, as long as the user clicks "Next" button, you can browse one by one the corresponding records.
Reply With Quote
  #6  
Old 14-02-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
How to combine XML and HTML

I am also using DSO technology to combine XML and HTML. With the DSO to access the properties of elements is very simple, you can directly attribute according to sub-elements to deal with.
For example:

Code:
<book isbn="5-111-122-56">
</ book>
Thus, when binding to HTML tables, you can directly from sub-elements to deal with:

<TD> <SPAN DATAFLD="isbn"> </ SPAN> </ TD>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to combine XML and HTML"
Thread Thread Starter Forum Replies Last Post
How do I combine MP3 to AVI FILES? Rainer Windows Software 3 04-03-2011 10:01 AM
How to combine the use of FrontPage and Dreamweaver Kaufman Software Development 5 05-03-2010 01:42 AM
Combine Two Partitions Larry ward Operating Systems 3 02-03-2009 11:20 PM
How do i Combine Mp3 files Dolf Windows Software 4 21-02-2009 02:36 PM
How to combine rar files fellah Windows Software 2 12-08-2008 12:43 PM


All times are GMT +5.5. The time now is 05:32 AM.