xsl-list
[Top] [All Lists]

Re: weird formatting and characters with <xsl:text disable-output-escaping>

2005-04-26 14:22:12
Spencer,

As Jay and David have said, XSLT is hindered in generating this kind of thing by the rules of XML syntax, which this format doesn't follow -- but doesn't InDesign have an "XML import" feature you could use to get around having to create this?

Short of a "pure Perl" approach, sometimes special output formats can be handled gracefully in XSLT by designing an XML logical view and then customizing a serializer or post-processor to generate the syntax. (This is similar to what Mike suggested for the fancy-plain-text application asked after in another thread.) But that's more than I'd usually be willing to take on ... partly because it requires a complete spec of the target syntax to do it right.

Cheers,
Wendell

At 04:55 PM 4/26/2005, Jay wrote:
In other words, InDesign doesn't use XML Consequently, you'll be forcing
XSLT to do odd things in order to get the desired output. I think d-o-e is
about your only hope for that problem.

I also really have to question XSLT's fitness for the task. I'd be turning
to Perl about now, personally.


======================================================================
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>
--~--