RE : RE : Serialisation with no default namespace prefix

2005-02-22 Thread Stéphane Rault
You might consider using a custom NoteFilter with a TreeWalker (both in org.w3c.dom.traversal) to achieve this. --> thanks for the tip.. I will show it. Converting namespace prefixes is something I've had trouble with in the past, and, frankly, I'm surprised that this sort of operation isn't

Re: RE : Serialisation with no default namespace prefix

2005-02-22 Thread James Shaw
Stéphane Rault wrote: Thank you for your sharp answer... I will implements the first method I think. Stéphane. -Message d'origine- De : Nathan Beyer [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 février 2005 03:09 À : [EMAIL PROTECTED] Objet : RE: Serialisation with no default name

RE : Serialisation with no default namespace prefix

2005-02-22 Thread Stéphane Rault
Thank you for your sharp answer... I will implements the first method I think. Stéphane. -Message d'origine- De : Nathan Beyer [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 février 2005 03:09 À : [EMAIL PROTECTED] Objet : RE: Serialisation with no default namespace prefix I

RE: Serialisation with no default namespace prefix

2005-02-22 Thread Nathan Beyer
hen just load this up as a stylesheet with the transformer APIs and just apply it to any document. These may not be the most efficient approaches, but they might work for you. -Nathan -Original Message- From: Stéphane Rault [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:00 AM

RE : Serialisation with no default namespace prefix

2005-02-21 Thread Stéphane Rault
Do you have a snippet of the code that constructs the elements? I believe you just need to create the namespace attribute declaration correctly. In your example you have 'xmlns:ced="namespace"', but what you want is 'xmlns="namespace"', but that could just be a typo. Ymailto:[EMAIL PROTECTED] S

RE: Serialisation with no default namespace prefix

2005-02-21 Thread Nathan Beyer
Do you have a snippet of the code that constructs the elements? I believe you just need to create the namespace attribute declaration correctly. In your example you have 'xmlns:ced="namespace"', but what you want is 'xmlns="namespace"', but that could just be a typo. -Original Message- Fr