Subject: Re: [xsl] Entity escaping/translation From: Dan Vint <dvint@xxxxxxxxx> Date: Wed, 17 Jun 2009 19:30:06 -0400 |
> 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"> <? echo(fldImg(2)) ?> </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=" <? echo(fldImg(2)) ?> "></span>
If the output method was xml that should make
<span class="branch2"><img src=" <? echo(fldImg(2)) ?> "/></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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Entity escaping/translati, David Carlisle | Thread | Re: [xsl] Entity escaping/translati, Dan Vint |
Re: [xsl] Entity escaping/translati, David Carlisle | Date | Re: [xsl] Move elements to precedin, Israel Viente |
Month |