[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] weird formatting and characters with
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.
At 04:55 PM 4/26/2005, Jay wrote:
Re: [xsl] weird formatting and characters with
Subject: Re: [xsl] weird formatting and characters with <xsl:text disable-output-escaping> From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 26 Apr 2005 17:22:12 -0400 |
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@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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] weird formatting and char, Spencer Tickner | Thread | Re: [xsl] weird formatting and char, David Carlisle |
Re: [xsl] weird formatting and char, Spencer Tickner | Date | Re: [xsl] weird formatting and char, David Carlisle |
Month |