Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 28th, 2007, 12:42 AM
Registered User
Join Date: May 2007
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default build XHTML into a DOM tree

hey, using DOM i have found certain data's in a XML doc.

Now using this data,I am supposed to build a XHTML document.

How do i do it ? basically..i want to know how to "build XHTML (into/using) a DOM tree"

Do share ,if you got any idea.

Thank you,

  #2 (permalink)  
Old May 28th, 2007, 03:01 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

Well unless you have a pre-existing template for the XHTML and you only need to fill in a few placeholders you've probably got a lot of work on your hands. A better tool for the job would probably be XSLT whereby one document is transformed into another. If you haven't worked with XSLT before you're going to need to sit down and learn for a few days until you can tackle anything but the simplest jobs.

If XSLT is not an option then you are going to have to give more details such as what is the structure of your input, what does the output look like and how one maps to the other and what XML tools are you using, Java, .NET etc.


Joe (Microsoft MVP - XML)

Similar Threads
Thread Thread Starter Forum Replies Last Post
DOM Perseus Java Basics 3 May 4th, 2006 08:50 AM
How to .... Dom Document namitjung PHP How-To 4 July 7th, 2005 12:17 AM
Beginning XHTML Lynk Wrox Book Feedback 1 March 1st, 2005 11:16 PM
DOM PS C++ freezotic BOOK: Beginning Java 2 0 August 3rd, 2004 11:39 AM
XHTML rajpalan HTML Code Clinic 9 October 20th, 2003 02:07 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.