Thanks Vasanth :)
-Original Message-
From: Soosai, Lourdhu Vasanth [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 January 2003 9:46 PM
To: '[EMAIL PROTECTED]'
Subject: RE: multiple attributes
use serializer.
public static String getXmlString(Documen
ser.asDOMSerializer();
domSer.serialize(document);
String result = outputStream.toString();
-Original Message-
From: Peter Vanopulos [mailto:[EMAIL PROTECTED]
Sent: Thursday, 30 January 2003 7:43 PM
To: [EMAIL PROTECTED]
Subject: RE: multiple attributes
Hi Group,
Quick question... What is the b
Vanopulos [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 4:13 AM
To: [EMAIL PROTECTED]
Subject: RE: multiple attributes
Hi Group,
Quick question... What is the best way to go from a Document to a
String.
Thanks
-
To u
Hi Group,
Quick question... What is the best way to go from a Document to a
String.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Peter Vanopulos wrote:
> ===> I can not see a setAttribute() method that accepts a NamedNodeMap
> as a parameter. Can you please post by example code.
I never said that such method exists. See Joe's reply on this subject.
> You can add attributes directly
> to the org.w3c.dom.NamedNodeMap (which
>===> I can not see a setAttribute() method that accepts a NamedNodeMap
> as a parameter. Can you please post by example code.
That isn't a standard DOM operation. You're asking for a nonportable
custom enhancement, and one that isn't really needed since it's extremely
easy to write your own rou
Hi Elena,
I fail to see what is "this problem" you are referring to..
While this is true that W3C DOM does not provide setAttributes() method
on Element/Node interfaces, there are several ways how you can add
attributes to an element using the DOM.
===> I can not see a setAttribute() method that
Peter Vanopulos wrote:
> > However I can not write multiple attributes to an element...
> ===> JDom impl has something similar to what you are describing. I would
> of thought that this problem had been encountered before and work around
> existed...
I fail to see what is &quo
Hi Peter,
===> JDom impl has something similar to what you are describing. I would
of thought that this problem had been encountered before and work around
existed...
I'm afraid there's none. It's not really a problem and since, it's not
covered by DOM specification it would make applications Xer
> Using xerces-j I can read in multiple attributes from an element by
It's not Xerces, but rather DOM specification
making use of the getAttributes() method that returns into a NodeList.
This should be org.w3c.dom.NamedNodeMap, isn't it?
==> Sorry, NamedNodeMap is wha
Hi Peter,
> Using xerces-j I can read in multiple attributes from an element by
It's not Xerces, but rather DOM specification
> making use of the getAttributes() method that returns into a NodeList.
This should be org.w3c.dom.NamedNodeMap, isn't it?
> However I can not write
Hi All,
Using xerces-j I can read in multiple attributes from an element by
making use of the getAttributes() method that returns into a NodeList.
However I can not write multiple attributes to an element... Can someone
please explain how to do this or provide a small code example.
Thanks and
12 matches
Mail list logo