It sounds like ie doesn't heed the entity declaration - <vagueGesture> maybe
in the archives </vagueGesture>
In general, tho', <xsl:apply-templates select="text()"/> and the default
text() template will take care of it / them.
Regards,
Tom SW
> -----Original Message-----
> From: Whitney, Dan (FPDG) [mailto:DanW@xxxxxxxxxxxxxxxxxx]
> Sent: 11 December 2002 16:34
> To: 'mulberry - xsl'
> Subject:
>
>
> Having a little problem with ie not interpreting character
> entities as text.
>
> Here's the xml fragment:
>
> <RECORDSECTION docfragment="security">
> <ID idtype="fpsid">30778</ID>
> <RECORDITEM sqlsource="security"
> id="id30778">BMO.PR.F pfd
> B ser 3
> r cv Ra $1.3875 pa Q <DOCUMENTREF
> elemcont="Reinvestment Option" sqlsource="securitynote">Reinvestment
> Option</DOCUMENTREF></RECORDITEM>
> </RECORDSECTION>
>
> Heres the xslfo fragment:
>
> <xsl:template match="RECORD [@fragid='17']//RECORDSECTION
> [@docfragment =
> 'security']">
> <fo:block margin-left="6pt" space-before="4pt">
> <xsl:for-each select="RECORDITEM">
> <xsl:value-of select="text()"/>
> <xsl:apply-templates select="DOCUMENTREF"/>
> </xsl:for-each>
> </fo:block>
> </xsl:template>
>
> Here's roughly the output (using fop 0.20.4):
>
> BMO.PR.F pfd B ser 3 r cv Ra $1.3875 pa Q * --(DOCUMENTREF template
> produces the "*" and is linked to a footnote) --
>
> However when I open the same xml fragment with this xsl:
>
> <xsl:template match="RECORD [@fragid='17']//RECORDSECTION
> [@docfragment =
> 'security']">
> <xsl:for-each select="RECORDITEM">
> <xsl:value-of select="text()"/>
> <xsl:apply-templates select="DOCUMENTREF"/>
> </xsl:for-each>
> </xsl:template>
>
> I get the following result (in ie 6.0):
>
> BMO.PR.F
>
> The entity is not treated as text? and so I lose all
> the text after
> the first entity reference. I have the entity mapped to   in
> iso_num.ent.
>
> Which one is right? and how do I get ie to print all the text
> including
> entities without printing the value of element DOCUMENTREF?
>
> Thanks in advance,
>
> Dan
>
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE:
- TSchutzerWeissmann - Wed, 11 Dec 2002 11:48:13 -0500 (EST) <=
|
|