You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Da...@lotus.com on 2000/05/19 23:44:42 UTC

Re: possibly a bug on processing-instruction?

Which version of the processor are you using?  Also, are you using the Java
or the C++ processor?

Dave



                                                                                                                               
                    "Yueming Xu"                                                                                               
                    <yxu@vitria.c        To:     <xa...@xml.apache.org>                                                    
                    om>                  cc:     (bcc: David N Bertoni/CAM/Lotus)                                              
                                         Subject:     possibly a bug on processing-instruction?                                
                    05/19/2000                                                                                                 
                    06:28 PM                                                                                                   
                    Please                                                                                                     
                    respond to                                                                                                 
                    xalan-dev                                                                                                  
                                                                                                                               
                                                                                                                               



Hi,

When I try to insert a processing instruction to an XML document, I have to
use the following work around to add a "?" to the end.  Is this a known
bug?

Thanks,
Yueming

  <xsl:template match="/processing-instruction('myTag')">
    <xsl:processing-instruction name="myTag">
      <xsl:value-of select="."/>
      <xsl:text>?</xsl:text>
    </xsl:processing-instruction>
  </xsl:template>







Re: possibly a bug on processing-instruction?

Posted by Yueming Xu <yx...@vitria.com>.
xalan 1.0.0 for Java.

----- Original Message -----
From: <Da...@lotus.com>
To: <xa...@xml.apache.org>
Sent: Friday, May 19, 2000 2:44 PM
Subject: Re: possibly a bug on processing-instruction?


>
> Which version of the processor are you using?  Also, are you using the
Java
> or the C++ processor?
>
> Dave
>
>
>
>
>                     "Yueming Xu"
>                     <yxu@vitria.c        To:
<xa...@xml.apache.org>
>                     om>                  cc:     (bcc: David N
Bertoni/CAM/Lotus)
>                                          Subject:     possibly a bug on
processing-instruction?
>                     05/19/2000
>                     06:28 PM
>                     Please
>                     respond to
>                     xalan-dev
>
>
>
>
>
> Hi,
>
> When I try to insert a processing instruction to an XML document, I have
to
> use the following work around to add a "?" to the end.  Is this a known
> bug?
>
> Thanks,
> Yueming
>
>   <xsl:template match="/processing-instruction('myTag')">
>     <xsl:processing-instruction name="myTag">
>       <xsl:value-of select="."/>
>       <xsl:text>?</xsl:text>
>     </xsl:processing-instruction>
>   </xsl:template>
>
>
>
>
>