qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Qexo-general] insert a new $item in rss


From: Craig Munday
Subject: RE: [Qexo-general] insert a new $item in rss
Date: Tue, 22 Jul 2003 16:39:25 +1000

why do you need the item node to be the first one?  Perhaps you could add an
attribute to it if it is special and place it at the end?


-----Original Message-----
From: Terje Pedersen [mailto:address@hidden
Sent: Tuesday, 22 July 2003 12:26 AM
To: address@hidden
Subject: [Qexo-general] insert a new $item in rss


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 mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/qexo-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]