[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Entity escaping/translation

Subject: Re: Entity escaping/translation
From: Dan Vint <dvint@xxxxxxxxx>
Date: Wed, 17 Jun 2009 19:30:06 -0400
Re:  Entity escaping/translation
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.