RE: [dom4j-user] namespace question

2004-12-20 Thread David Thielen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Dankert Sent: Monday, December 20, 2004 3:28 AM To: David Thielen Cc: [EMAIL PROTECTED] Subject: Re: [dom4j-user] namespace question > Element wordDoc = wordML.addElement("wordDocument", > &qu

Re: [dom4j-user] namespace question

2004-12-20 Thread Edwin Dankert
> Element wordDoc = wordML.addElement("wordDocument", > "http://schemas.microsoft.com/office/word/2003/wordml";); This creates an element in the 'http://schemas.microsoft.com/office/word/2003/wordml' namespace, without a prefix. > wordDoc.addNamespace("w", > "http://schemas.microsoft.com/office/

[dom4j-user] namespace question

2004-12-19 Thread David Thielen
Hi;   I use: Document wordML = DocumentHelper.createDocument(); Element wordDoc = wordML.addElement("w:wordDocument"); wordDoc.addNamespace("w", "http://schemas.microsoft.com/office/word/2003/wordml");  Element fonts = wordDoc.addElement("w:fonts");   This gets me: http://

[dom4j-user] Namespace question

2004-08-31 Thread Tony Piazza
I am using dom4j to create a small xml document that looks like this: http://gadfly.piazza.com/protocol/agent/2002"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://gadfly.piazza.com/protocol/agent/2002 http: