Re: [xsl] plea for help...

Subject: Re: [xsl] plea for help...
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 09 Mar 2006 18:10:55 -0500
Walter,

At 03:36 PM 3/9/2006, you wrote:
After a lot of thought and mulling about, I thought I'd share what I was
thinking in regards to the "pure" XML I refered to earlier...

<?xml version="1.0"?>

  <article id="43467">
     <status>in process</status>
...

[etc.]


or I was thinking about this for the </content> space...

    <content>
       <title>Intro paragraph here.</title>
       <sub-title>Main paragraph.</sub-title>
       <body>
          <![CDATA[all my xHTML goes in here]]>
       </body>
    </content>

Hint: if that CDATA marked section is an indicator that you plan to place "escaped" HTML -- don't do it. You'll regret it. It's like paying extra to sit in the front row, and then deciding to stand behind a post way up in the balcony. Why do it? You give up all the benefits of going to XML in the first place.


If you want to use HTML, go ahead and use it. You might want to put it into a separate namespace from your own elements (like the xhtml namespace), or just clone HTML (or better, the good bits) in your own namespace and then convert it into true HTML like everything else. (Which way to go depends on your maintenance and validation models, probably.)

As for the modeling -- before you embark on this, I suggest you look into some of the industry-standard DTDs and schemas out there. Consider Docbook (technical documentation), NCBI Journal Publishing, TEI (scholarly research and publishing), all good candidates for starting points depending on what you're trying to do (and findable easily enough with your trusty search engine). The designers of these specifications have been through it all before. You may not need anything as full-featured as any of these, but they'll give you a sense of what people have run into in the real world.

Or am I way over thinking this?

Not necessarily. But it *is* off topic now....


Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread