Re: [xsl] Quark Express

Subject: Re: [xsl] Quark Express
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 07 Jun 2001 15:30:42 +0100

Quark doesn't have some kind of tagged import format? Most publishing programs do.

It doesn't need to be XML. If a clean subset could be defined to do what had to be done, XSLT could target it using the 'text' output method (even if it had angle brackets).

You wouldn't get "lights-out" publishing this way, but it could save you a bunch of work. But it all depends on what Quark can import, whether styles can be used, etc. etc. Heck, if Quark can import HTML, you might even be able to go that way (circuitous, but hey).


At 07:09 PM 6/7/01, Matt wrote:
jim jim writes:

> Is it possible to convert an XML file using XSLT to Quark.

Ouch. I haven't personally tried this, but a colleague of mine has
analyzed the Quark file format in detail, and I heard from her that
that format is:

 * Very complex;
 * Poorly (if not un-) documented; and
 * Contains angle-bracketed structures that are not well-formed XML

Since an angle-bracketed structure that isn't well-formed XML is the
one thing XSLT can't output, you may have some trouble. Though maybe
you could pull some fancy trick with CDATA sections or character
entities. But it might be easier to use OmniMark, or write a SAX
filter in Python. Either of those will let you output anything you
darn well please.


XSL-List info and archive:

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
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:

Current Thread