[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qexo-general] insert a new $item in rss
From: |
Terje Pedersen |
Subject: |
[Qexo-general] insert a new $item in rss |
Date: |
Mon, 21 Jul 2003 16:25:36 +0200 |
User-agent: |
KMail/1.5.1 |
With the lack of xquery features implemented in Qexo I can't seem to find a
solution how to add a new $item as the first item node in the channel node
without building the complete xml from scratch reading $channel/title,
$channel/link an so on.
<channel>
<title>Qexo</title>
<link>http://www...</link>
.....
insert the new $item here
.....
<item>
</item>
</item>
</item>
</channel>
Its easy to add the new $item at the end inside the channel node but since I
don't think "order by" is implemented either, I can't presentate it correct
afterwards.
element channel {
$rss/channel/node(),
$item
}
A: I thought I could use $rss/channel/(title|link) to select just these nodes
B: Is it possible to select all nodes of channel without item nodes
Terje Pedersen - address@hidden
- [Qexo-general] insert a new $item in rss,
Terje Pedersen <=