xsl-list
[Top] [All Lists]

Re: [xsl] plea for help...

2006-03-09 16:44:05
At 06:10 PM 3/9/2006, I wrote:
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.

Or maybe I should have written "escaped 'HTML'" -- since the stuff *is* escaped, but it *isn't* HTML.

We routinely get questions from people with quasi-HTML pseudo-markup asking how to turn it into the real thing. That's not so hard to do -- until you discover it won't parse. Then you're back to square one.

If you maintain it as XML (meaning syntactically; use whatever tag set you like), and assuming you use proper tools to maintain it, you'll never run into this problem.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>