Results 1 to 6 of 6

Thread: How to combine XML and HTML

  1. #1
    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.

  2. #2
    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.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    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.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    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.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    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.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    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>

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,275,324.46121 seconds with 17 queries