That should be
"<xsl:value-of select=""/>
Omprakash.V
omprakash(_dot_)v(_at_)pol
aris.co.in To:
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc: (bcc: omprakash.v/Polaris)
02/28/2005 Subject: Re: [xsl] xsl:variable
question
04:45 PM
Please respond
to xsl-list
Hi,
What you are doing right now is adding the <img> element to your output
tree. If you need the value of img in your variable, then you need to use
<xsl:value-f select="..."/> construct.
Adding the string representation of your img element shouldn't be too
difficult. But if you need to have a result-tree-fragment (RTF) in your
variable, it helps if they are part of your input document.
You may get someone else's help on how to build your RTF.
Regards,
Omprakash.V
"Kai
Hackemesser" To:
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
<kaha(_at_)gmx(_dot_)de> cc: (bcc:
omprakash.v/Polaris)
Subject: [xsl] xsl:variable
question
02/28/2005
04:36 PM
Please
respond to
xsl-list
Hello,
I have a construction which looks as following:
<xsl:variable name="tree-structure-new-branch">
<xsl:choose>
<xsl:when test="not(position()=last())">
<img width="16" height="16"
alt="Der Zweig geht nachher noch weiter"/>
</xsl:when>
<xsl:otherwise>
<img width="16" height="16" alt="Der Zweig endet hier"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
I have traced through this piece of code, it seems to follow my xml tree
well. But the variable I define here is empty after leaving this xsl
structure. Why? What should I change to store that img element in the
variable?
Regards,
Kai
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
This e-Mail may contain proprietary and confidential information and is
sent for the intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to
you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its
attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
This e-Mail may contain proprietary and confidential information and is sent
for the intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to
you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its
attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--