You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bryan hansen <bh...@yahoo.com> on 2001/11/28 18:15:19 UTC

Non existent tag error...

I have some xsl that checks to see if a tag does not
exist:

<fo:table-cell>
  <fo:block text-align="start">
    <xsl:choose>
	<xsl:when test="Transaction/Filing/OldFilingNumber !=
''">
         <xsl:value-of
select="Transaction/Filing/OldFilingNumber"/>
        </xsl:when>
        <xsl:otherwise>
          N/A
	</xsl:otherwise>
    </xsl:choose>
  </fo:block>
</fo:table-cell>

This was working correctly, but now I am getting an
error:

; SystemID: http://utstbrucc2/ucc-ack.fo.xsl; Line#:
87; Column#: -1
javax.xml.transform.TransformerException: Unknown
error in XPath

The only thing that has changed was that I reinstalled
fop? Am I missing a required jar or have a different
version that would make this stop working?

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Non existent tag error...

Posted by bryan hansen <bh...@yahoo.com>.
Oops, line 87 is the line that does the xsl:when test!

Bryan

--- bryan hansen <bh...@yahoo.com> wrote:
> I have some xsl that checks to see if a tag does not
> exist:
> 
> <fo:table-cell>
>   <fo:block text-align="start">
>     <xsl:choose>
> 	<xsl:when test="Transaction/Filing/OldFilingNumber
> !=
> ''">
>          <xsl:value-of
> select="Transaction/Filing/OldFilingNumber"/>
>         </xsl:when>
>         <xsl:otherwise>
>           N/A
> 	</xsl:otherwise>
>     </xsl:choose>
>   </fo:block>
> </fo:table-cell>
> 
> This was working correctly, but now I am getting an
> error:
> 
> ; SystemID: http://utstbrucc2/ucc-ack.fo.xsl; Line#:
> 87; Column#: -1
> javax.xml.transform.TransformerException: Unknown
> error in XPath
> 
> The only thing that has changed was that I
> reinstalled
> fop? Am I missing a required jar or have a different
> version that would make this stop working?
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting,
> just $8.95/month.
> http://geocities.yahoo.com/ps/info1
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-dev-unsubscribe@xml.apache.org
> For additional commands, email:
> fop-dev-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org