/[cvs]/nfo/perl/scripts/xupdate/t/08_xupdate_variables.xml
ViewVC logotype

Contents of /nfo/perl/scripts/xupdate/t/08_xupdate_variables.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed May 7 04:08:49 2003 UTC (21 years ago) by joko
Branch: MAIN
File MIME type: text/xml
initial commit

1 <?xml version="1.0"?>
2
3 <!-- from http://www.xmldb.org/xupdate/xupdate-wd.html#N3c9217 -->
4
5 <xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate">
6
7 <!-- <xupdate:variable name="town" select="/addresses/address[0]/town"/> -->
8 <!-- <xupdate:variable name="town" select="/addresses[2]/address[4]/town[2]" /> -->
9 <xupdate:variable name="town" select="abcdef" />
10
11 <xupdate:append select="/addresses">
12 <xupdate:element name="address">
13 <xupdate:value-of select="{$town}"/>
14 </xupdate:element>
15 </xupdate:append>
16
17 </xupdate:modifications>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed