Re: [Xmltask-users] Adding xmlns to the root.

2008-02-12 Thread Brian Agnew
My initial thought is that the I spoke too soon ... > After I add the namespace (ex1) to the xml file, I run > the second xmltask to insert a new xml statement to > it. > And I have this error > Caused by: org.xml.sax.SAXParseException: The prefix > "ex1" for element "ex1:abc" is not bound. > > Br

Re: [Xmltask-users] Adding xmlns to the root.

2008-02-11 Thread Rob Lieou
I spoke too soon ... After I add the namespace (ex1) to the xml file, I run the second xmltask to insert a new xml statement to it. And I have this error Caused by: org.xml.sax.SAXParseException: The prefix "ex1" for element "ex1:abc" is not bound. Brian, do you happen to know why? The namespac

Re: [Xmltask-users] Adding xmlns to the root.

2008-02-11 Thread Brian Agnew
Ah. Of course. Thx for the feedback. Rob Lieou wrote: Thank you Brian, it works with a tiny modification due to namespaces. --- Brian Agnew <[EMAIL PROTECTED]> wrote: Try: etc. Brian On Sun, February 10, 2008 22:31, Rob Lieou wrote: Hi all, This is my first time using XmlTask a

Re: [Xmltask-users] Adding xmlns to the root.

2008-02-11 Thread Rob Lieou
Thank you Brian, it works with a tiny modification due to namespaces. --- Brian Agnew <[EMAIL PROTECTED]> wrote: > Try: > > value="urn:com.example-1"/> > > etc. > > Brian > > On Sun, February 10, 2008 22:31, Rob Lieou wrote: > > Hi all, > > This is my first time using XmlTask and would like

Re: [Xmltask-users] Adding xmlns to the root.

2008-02-11 Thread Brian Agnew
Try: etc. Brian On Sun, February 10, 2008 22:31, Rob Lieou wrote: > Hi all, > This is my first time using XmlTask and would like to > know if I can add xmlns to the root element. > > For instance, I have this xml file. I use the insert > command to insert some xml to this file that require > n