|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Switching Between Two Column Mode and One Column M
Hi Kent,
I am not quite sure what you mean. Is it the total amount of length
for all description elements, that is the base of whether to use one
or two coloumns?
Then it would be something like:
<xsl:variable name="testlength">
<xsl:for-each select="rss/channel/item/description">
<xsl:value-of select="text()"/> <!-- Presumed only text, not
links, to test -->
</xsl:for-each>
</xsl:variable>
Then you should be able to test the length of this variable (this is
not tested).
I hope this helps a little.
Regards,
Ragulf Pickaxe :-)
On 5/23/05, kent <kent@xxxxxxxxxxxxxxxxx> wrote:
> Thanks for your interest, I didn't want to clutter up the mail group with a
> lengthy example, but here it goes (actually a short example):
>
> (note the escaped html, very typical in feeds. I need to fire my column
rule
> on the length of the item/description. I would consider these descriptions
> short and therefore format as two columns)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








