[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Entity escaping/translation
Subject: Re: [xsl] Entity escaping/translation From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 17 Jun 2009 23:48:32 +0100 |
> 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. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Entity escaping/translati, Dan Vint | Thread | Re: [xsl] Entity escaping/translati, Dan Vint |
RE: [xsl] Entity escaping/translati, Dan Vint | Date | Re: [xsl] Entity escaping/translati, Dan Vint |
Month |