Hi,

I tried to use XUpdate  DTD to validate some questions I asked myself but, I
can't. I am currently looking about some modification of this DTD which
could make it working.
Does anybody have the same problem or am I too :( to use this DTD.
I must confess that I rarely use DTD, I prefer XML schema instead.

I have some questions about xupdate semantic :

In a xupdate command like 'insert-before' can I put many xupdate:element at
the same level instead only one ? (I guess yes)

Can I embed xupdate:element in xupdate:element to recursively create from
scratch a tree fragment ?

In the working draft there is the following sample :

 <xupdate:variable name="town" select="/addresses/address[0]/town"/>
 <xupdate:append select="/addresses">
   <xupdate:element name="address">
     <xupdate:value-of select="$town"/>
   </xupdate:element>
 </xupdate:append>

In this case the variable named 'town' represents a single node. Is it
correct to use variables representing more than on node (nodeset, text ...)

Thanks in advance,


Olivier Moises


----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to