xsl-list
[Top] [All Lists]

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

2005-04-26 13:55:00
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.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




Spencer Tickner <spencertickner(_at_)gmail(_dot_)com> 
04/26/2005 03:42 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc

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






Shoot just realized we can't even do that as InDesign uses mandatory
nested tags to define paragraph styles, like <this is a tag<this is a
nested tag>>, so perhaps I will have to look at this all another way??

Spencer

On 4/26/05, Spencer Tickner <spencertickner(_at_)gmail(_dot_)com> wrote:
Hi David, Thanks for the response.

Yeah, you hit the nail on the head, I think we may end up having to
change some of these naming conventions for this to work, se la vie.
Anyway, thanks for the response,

Spencer

On 4/26/05, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


                <xsl:result-document href="{$filename}" format="text">

                <xsl:text disable-output-escaping="yes">
                &lt;ASCII-WIN&gt;
                &lt;Version:3.000000&gt;

why would you want to do that rather than

                <xsl:result-document href="{$filename}" format="text">
                <ASCII-WIN>
                <Version:3.000000>

Oh that's why. This element name does not conform to the XML Namespace
Rec, so in practice it won't work with most modern XML tools (and 
won't
work as either input pr output to XSLT or XPath.

Do you have to have that element name?

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

________________________________________________________________________

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




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




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