xsl-list
[Top] [All Lists]

xpath problem again

2002-09-09 06:31:20
I want to have a xpath like this in which it either chooses based on a param
value... in case the param is empty it shud not apply any predicate...
Please help...
<xsl:for-each 
select="//FCR[(_at_)fastPath=$fpath]/child::*[(_at_)nodeType=$rtype] |
//FCR[(_at_)fastPath=$fpath]/child::*[(_at_)nodeType=$rtype] |
//FCR[(_at_)fastPath=$fpath]/child::*">

Regards,
aruniima

 -----Original Message-----
From:   Cédric Claus [mailto:cedric(_dot_)claus(_at_)u-mangate(_dot_)com] 
Sent:   Monday, September 09, 2002 6:48 PM
To:     XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:        [xsl] XSL-fo

hi

I have to add a .gif to a pdf using xsl.

The name of the picture  is inside a XML document

When I generate a HTML, I use:

<img>
        <xsl:attribute name="src"><xsl:value-of 
select="img/@src"/></xsl:attribute>
</img>


I would something similar to add  a picture in a PDF

Thank you for your help

Ced


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
----------------------------------------------------------------------------

This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--------------------------------------------------------------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>