Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
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
Old November 28th, 2008, 07:23 AM
Authorized User
Join Date: Dec 2005
Posts: 71
Thanks: 10
Thanked 0 Times in 0 Posts
Default Question and Answer DTD

Dear All,

Here is a case; where I come across developing project in XML.
My client would be providing me the hard books or PDF files of question and answer unit book and which comprises of all type of questioning procedure e.g. Optional, Fill ups, Summary etc in simple it is a book with full of math problem and keys. And the client want us to publish in web using XML as interactive format.

Following are the list of details I would like to get advice from you all.

1. Does this conversion of PDF to interactive XML to share via web page sounds good or NOT?
2. What XML standard will be suitable for this, if possible please send me the link of DTD or XML samples.

Any help would be great full


Old November 28th, 2008, 07:55 AM
mhkay's Avatar
Wrox Author
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

PDF is highly variable in how easy it is to reverse-engineer - it depends how it was created. Sometimes it's just scanned images. There are tools for turning it into something more usable, but sometimes they give no better results than you could get by OCR scanning the printed pages. Ask for some samples and do some experiments before you commit to your cost estimates. Preferably, get the source documents from which the PDF was produced, they will be much easier to convert.

As for the XML standard to use, I think it would be best to design your own. Use MathML for the maths part perhaps, and you could base the rest on something like DocBook, but I suspect you'll have more flexibility if you define your own schema rather than trying to use something off the shelf.

Michael Kay
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference
Old November 29th, 2008, 01:15 AM
Authorized User
Join Date: Dec 2005
Posts: 71
Thanks: 10
Thanked 0 Times in 0 Posts

Dear Kay,

Thanks for your valuable inputs. I will get the PDF as text behind or the composite one.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question and Answer Moduel ROCXY All Other Wrox Books 2 November 29th, 2008 01:14 AM
Book does not seem to answer my question Alfred BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 October 31st, 2008 11:47 AM
DTD question bcogney XML 1 April 8th, 2007 06:01 PM
question DTD antiwind XML 1 February 24th, 2005 04:45 AM
Answer this code question jaimini VB.NET 2002/2003 Basics 3 November 27th, 2004 07:10 AM

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