RE: [xsl] Switching Between Two Column Mode and One Column Mode - Peek Ahead?

Subject: RE: [xsl] Switching Between Two Column Mode and One Column Mode - Peek Ahead?
From: "kent" <kent@xxxxxxxxxxxxxxxxx>
Date: Mon, 23 May 2005 15:38:49 +0100
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)

<?xml version="1.0" encoding="UTF-8"?>
<rss version="0.93">
  <channel>
    <title>The BigBlogZoo headlines brought to you by
GenerateScape.com</title>
    <link>http://www.bigblogzoo.com/</link>
    <description>The last 25 headlines</description>
    <item>
      <title>Using Watercolor Pencils</title>
      <link>http://drawsketch.about.com/b/a/102973.htm</link>
      <description>Watercolor pencils can be used for sketching and painting
in a variety of ways. Get started exploring this versatile medium, with this
watercolor pencil lesson comparing lightly sketched color to densely
burnished layers. While you're thinking about watercolor pencil,
here's...&lt;br&gt;&lt;span style="font-weight:bold;"&gt;&lt;a
onClick="return popup(this, 'Feeds')" target="_self"
href="http://www.bigblogzoo.com/headlines/related/2855340060436949523.html"&;
gt;&lt;img src="http://www.bigblogzoo.com/images/related.png";
border="0"&gt;&lt;/span&gt;&lt;a
href="mailto:BigBlogZoo@xxxxxxxxxxxxxxxx?body=%0A%0A%3D%3D%3D%3D%3D%3D%3D%3D
%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%
3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3
D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0AUsing%20Watercolor%20
Pencils%0A%0AWatercolor%20pencils%20can%20be%20used%20for%20sketching%20and%
20painting%20in%20a%20variety%20of%20ways.%20Get%20started%20exploring%20thi
s%20versatile%20medium%2C%20with%20this%20watercolor%20pencil%20lesson%20com
paring%20lightly%20sketched%20color%20to%20densely%20burnished%20layers.%20W
hile%20you%27re%20thinking%20about%20watercolor%20pencil%2C%20here%27s...%0A
%0Ahttp%3A%2F%2Fbigblogzoo.com%3A8080%2Ffeedproviderservlet%3Furl%3Dhttp%3A%
2F%2Fz.about.com%2F6%2Fg%2Fdrawsketch%2Fb%2Findex.xml%0A%0A&amp;subject=Usin
g%20Watercolor%20Pencils%20in%20the%20BigBlogZoo%20"&gt;&lt;img
src="http://www.bigblogzoo.com/images/comment.png";
border="0"&gt;&lt;/a&gt;</description>
      <category>Arts/Visual_Arts/Drawing/</category>
      <pubDate>Sun, 22 May 2005 13:29:55 GMT</pubDate>
    </item>
    <item>
      <title>Drawing - Top 10 Mistakes Beginners Make</title>
      <link>http://drawsketch.about.com/b/a/079957.htm</link>
      <description>If you've just been drawing a little while, check out
this list of the most common errors that beginners make. Most of them are
easily fixable, and you might find a way to kick-start your art. Read
More...&lt;br&gt;&lt;span style="font-weight:bold;"&gt;&lt;a onClick="return
popup(this, 'Feeds')" target="_self"
href="http://www.bigblogzoo.com/headlines/related/2855340060436949523.html"&;
gt;&lt;img src="http://www.bigblogzoo.com/images/related.png";
border="0"&gt;&lt;/span&gt;&lt;a
href="mailto:BigBlogZoo@xxxxxxxxxxxxxxxx?body=%0A%0A%3D%3D%3D%3D%3D%3D%3D%3D
%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%
3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3
D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0ADrawing%20-%20Top%201
0%20Mistakes%20Beginners%20Make%0A%0AIf%20you%27ve%20just%20been%20drawing%2
0a%20little%20while%2C%20check%20out%20this%20list%20of%20the%20most%20commo
n%20errors%20that%20beginners%20make.%20Most%20of%20them%20are%20easily%20fi
xable%2C%20and%20you%20might%20find%20a%20way%20to%20kick-start%20your%20art
.%20Read%20More...%0A%0Ahttp%3A%2F%2Fbigblogzoo.com%3A8080%2Ffeedproviderser
vlet%3Furl%3Dhttp%3A%2F%2Fz.about.com%2F6%2Fg%2Fdrawsketch%2Fb%2Findex.xml%0
A%0A&amp;subject=Drawing%20-%20Top%2010%20Mistakes%20Beginners%20Make%20in%2
0the%20BigBlogZoo%20"&gt;&lt;img
src="http://www.bigblogzoo.com/images/comment.png";
border="0"&gt;&lt;/a&gt;</description>
      <category>Arts/Visual_Arts/Drawing/</category>
      <pubDate>Sun, 22 May 2005 13:29:36 GMT</pubDate>
    </item>
  </channel>
</rss>

-----Original Message-----
From: Ragulf Pickaxe [mailto:ragulf.pickaxe@xxxxxxxxx]
Sent: Monday, May 23, 2005 2:22 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Switching Between Two Column Mode and One Column Mode -
Peek Ahead?

Hi Kent,

I don't know what rss looks like, and with no examples provided it is
not easy to give a solution.

Regards,
Ragulf Pickaxe :-)

On 5/23/05, kent <kent@xxxxxxxxxxxxxxxxx> wrote:
> Hi-ya
>
> I am trying to transform a rss feeds.
<snip/>

Current Thread