This is my string, and from everything that i have looked at, including the examples, I still get a query error.
Please someone help. String xupdate = "<?xml version=\"" + XMLDBVERSION +"?>" + "<xu:modifications version=\"" + XMLDBVERSION + "\" " + "xmlns:xu=\"http://www.dbxml.org/xupdate> " + "<xu:append select=\"/projects\"> " + "<xu:element name=\"project\"> " + "<xu:attribute name=\"id\">" + projectID + "</xu:attribute>" + "<name>" + projectName + "</name>" + "<manager>" + projectManager + "</manager> " + "<startDate>" + aSimpleDateFormat.format(startDate) + "</startDate>" + "<endDate>" + aSimpleDateFormat.format(endDate) + "</endDate>" + "</xu:element>" + "</xu:append>" + "</xu:modifications>"; Thanks Belinda ----- Original Message ----- From: "Mark J. Stang" <[EMAIL PROTECTED]> Date: Wednesday, January 22, 2003 12:49 pm Subject: Re: Xindice and XUpdate > All of my tests worked with 1.0 of Xindice and they work with the cvs > version. > > Try these for syntax: > > http://www.xmldb.org/xupdate/xupdate-wd.html > http://www.xmldatabases.org/projects/XUpdate-UseCases/ > > > belinda_browne wrote: > > > Yeah I am running JVM 1.4 and Xindice 1.0. > > > > What Examples? Where can I find them to try them? > > > > Thanks > > Belinda > > > > > I guess she is having problems with JVM1.4, like me. > > > I've already tested my classes with all that stuff (- > > > Djava.endorsed.dirs) > > > and didn't make XUpdate work out. > > > I am working with Java 1.4.1 and Xindice 1.0. > > > Could you give some suggestion to have Xupdate working in my > > > application? > > > > ----- Original Message ----- > > From: "Mark J. Stang" <[EMAIL PROTECTED]> > > To: <xindice-users@xml.apache.org> > > Sent: Tuesday, January 21, 2003 11:37 AM > > Subject: Re: Xindice and XUpdate > > > > > Belinda, > > > Why do you think that XUpdate is broken? I have a set of test > > > cases that I ran recently and it appears that XUpdate is working. > > > I think XUpdate is the mechanism for making changes to a document. > > > However, I am sure that if you wanted to go down a layer or so > > > you could call the API directly. However, that API could > > > change over time, where as XUpdate should be stable. > > > > > > Kimbro put out a bunch of XUpdate samples and the last > > > time I checked they all worked. > > > > > > What have you tried or rather what do you want to do > > > that doesn't work. > > > > > > Mark > > > > > > belinda_browne wrote: > > > > > > > I have done some reading and it appears that there is a > problem with > > > > XUpdate working with Xindice. > > > > > > > > Can anyone please let me know if there is a problem, and > what can be > > > > done to fix it? > > > > > > > > Otherwise, is there any other way to be able to add data to > Xindice> > > other than using XUpdate? > > > > > > > > Thanks. > > > > > > > > Cheers > > > > Belinda > > > > > > > > > > -- > > > Mark J Stang > > > System Architect > > > Cybershop Systems > > > > > > > > > > > > -- > Mark J Stang > System Architect > Cybershop Systems > >