Re: disable-output-escaping="yes" issue

Hi,

I ran into this issue as xproc from what I gather will not handle this until
sometime in the future.

One solution is to adjust the java code within a step that saves output so
that it does a find and replace on the text you require to be changed before
saving the output.

Alex



On Sun, Oct 10, 2010 at 4:17 PM, Betty Harvey <harvey@eccnet.com> wrote:

> I have an XSLT where I need to use <xsl:text
> disable-output-escaping="yes">.
> When I run the XSLT using Calabash within Oxygen, the feature doesn't work.
> If I run the XSLT without going through XProc the text escapes correctly:
>
> XSLT statement:
>  <xsl:choose>
>            <xsl:when test="starts-with($preceding, '(')"/>
>            <xsl:otherwise>
>                <xsl:text
> disable-output-escaping="yes">&lt;ItemizedList&gt;</xsl:text>
>            </xsl:otherwise>
>        </xsl:choose>
>
> Output from Saxon:  <ItemizedList>
>
> Output from XProc:  &lt;ItemizedList&gt;
>
> Has anyone seen this before and know of a workaround?
>
> TIA!
>
> Betty
>
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone: 410-787-9200
>
> begin_of_the_skype_highlighting              410-787-9200      end_of_the_skype_highlighting
> FAX: 9830
> Electronic Commerce Connection, Inc. |
> harvey@eccnet.com                    | Washington,DC XML Users Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
> Member of XML Guild (www.xmlguild.org)
>
>

Received on Sunday, 10 October 2010 20:14:51 UTC