On Tue, 2003-08-12 at 17:02, Miguel Carvalho wrote:
<snip/>
>                 newAttr.addAttribute("", localName, "layouttype", "", "2");
>                 newAttr.addAttribute("", localName, "xpos", "", "5");
>                 newAttr.addAttribute("", localName, "ypos", "", "7");
>                 newAttr.addAttribute("", localName, "border", "", "dotted");

This is likely the problem: the localName should also be the attribute
name, so in fact you need to supply the same string twice:

newAttr.addAttribute("", "layouttype", "layouttype", "", "2");

In this case the two arguments are the same because you're using an
empty namespace. Otherwise, the second argument would contain the
namespace prefix.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to