Re: Easy-to-use (author in) XHTML tool sought

Subject: Re: Easy-to-use (author in) XHTML tool sought
From: Chris <cud -at- telecable -dot- es>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 03 Apr 2001 11:01:00 +0200

There may not be any beast that creates markup fragments, but why should that stop you? I don't see how you can get the benefit of validation unless you are validly writing to a DTD - hence the need for something the application considers a complete document. You could take one of two approaches, or a combination of the two...

Create a custom DTD that represents only the fragment you need... Make <body> the root element, and specify everything within it. You could probably modify your existing DTD rather easily to pull out the parents of <body>. As you edit the "fragment" using that DTD makes the application think it's a complete document.

Use the full DTD, but modify the SGML export/import. Believe me, every WYSIWYG editor, in one way or another, transforms the the markup representation into a binary representation - either in memory (typical for browsers), in a temp file (ArborText???), or in a "native format" file (FrameMaker+SGML, for example). Use the product's API to catch that process, and on Save, only save the fragment you want - on Open, wrap the fragment in a template of parent structure.

I don't think this is unusual... I have participated in projects that managed fragments, and assembled them in books. Your biggest issue will be finding a WYSIWYG system that generates truly unique IDREFS for all these fragments - you will need to keep a database of serial numbers, or some such thing. That's where a Doc Management product enters into the picture...

Cheers cud
--
Chris Despopoulos, maker of CudSpan Freeware...
Plugins to Enhance FrameMaker & FrameMaker+SGML
My URL and address have both changed - please use:
http://www.telecable.es/personales/cud/
cud -at- telecable -dot- es


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

*** Deva(tm) Tools for Dreamweaver and Deva(tm) Search ***
Build Contents, Indexes, and Search for Web Sites and Help Systems Available 4/30/01 at http://www.devahelp.com or info -at- devahelp -dot- com

Sponsored by DigiPub Solutions Corp, producers of PDF 2001 Conference East, June 4-6, Baltimore, MD. Now covering Acrobat 5. Early registration deadline April 27. http://www.pdfconference.com.
---
You are currently subscribed to techwr-l as: archive -at- raycomm -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.


Previous by Author: RE: Word to PDF
Next by Author: Re: pronouns and portfolios
Previous by Thread: Re: Easy-to-use (author in) XHTML tool sought
Next by Thread: Techwhirlers at STC Chicago?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads