TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:RE: Semantic markup for tabular data From:Sean Hower <hokumhome -at- freehomepage -dot- com> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Mon, 24 May 2004 09:49:25 -0700 (PDT)
Hi. Chiming in late on this thread.
Given all of this talk about XML, and the difficulty in explaining exactly how you can go about using XML to present data, I've decided to put together a quick little demonstration. You can go to the URL below to view it.
When the page opens, you'll get a prompt. Enter your choice and the file will load. You have to enter "one" "two" or "three" exactly. If you enter something else the JavaScript won't work. Why? Becuase this is a quick and dirty example and I didn't bother with error handling. Also, because this is a quick-and-dirty example, I wrote it just for IE 6+. The code to get this to work in Netscape is much longer, and Opera can't handle XML.
One again, this is a quick and dirty example. normally, I'd work on the look of it a bit more, but I'm not going to spend that kind of time on this. This example doesn't use css. It uses data from a single xml file (movies.xml). The prompt is used to pick the template you want to use to format the xml file (one.xsl, two.xsl, three.xsl).
Anyway, take a look at the templates, take a look at the xml file. If you have questions, let me know. If you have critisms about font size or colors, or some other aspect of format, I think you're missing the point. :-)
SEE THE ALL NEW ROBOHELP X5 IN ACTION: RoboHelp X5 is a giant leap forward
in Help authoring technology, featuring Word 2003 support, Content
Management, Multi-Author support, PDF and XML support and much more! http://www.macromedia.com/go/techwrldemo
>From a single set of Word documents, create online Help and printed
documentation with ComponentOne Doc-To-Help 7 Professional, a new yearly
subscription service offering free updates and upgrades, support, and more. http://www.doctohelp.com
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.