Re: [xsl] Entity escaping/translation

Subject: Re: [xsl] Entity escaping/translation
From: Dan Vint <dvint@xxxxxxxxx>
Date: Wed, 17 Jun 2009 19:30:06 -0400
No, I've separated all processing to just using saxon, stylesheet and source document.

looks like I need to dig into it further, something to do tomorrow ;-)

..dan

At 06:48 PM 6/17/2009, you wrote:

> I tried setting it to text which made no difference. I also removed
> the output statement and that  didn't change things.

are you sure that the result is being serialised by xslt rather than
being passed as an in-memory tree to another process that is serialising?
It sounds as if the xsl:output is being ignored, which usually means xsl
is not generating the output.

You showed the snippet

<xsl:for-each select="((../figList/tempChFigure))" >
     <span class="branch2" >
        <img>
           <xsl:attribute name="src">
               &#60;? echo(fldImg(2)) ?&#62;
          </xsl:attribute>
       </img>

if the output method was text that should make no output at all (as the
string value of an empty element is "")

If the output method was html (and these elements are in no namespace)
that should make

<span class="branch2"><img src="&#10; <? echo(fldImg(2)) ?&gt;&#10; "></span>

If the output method was xml that should make

<span class="branch2"><img src="&#10; <? echo(fldImg(2)) ?&gt;&#10; "/></span>

with a /> at the end of img.



David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________

--------------------------------------------------------------------------- Danny Vint

Panoramic Photography
http://www.dvint.com

voice: 502-749-6179

Current Thread