This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
    Bookmark Topic Watch Topic
 
friki data migration
Ranch Hand
Posts: 772
  • Mark post as helpful
  • send pies
  • Report post to moderator
Another common question is how one gets a representation of a given DOM object as an array of bytes.

Here's a method that returns the byte-array representation of a given org.w3c.dom.Node object (usually an instance of org.w3c.dom.Element or org.w3c.dom.Document):



(See also DocumentToString)


XmlFaq CategoryCodeSamples
 
    Bookmark Topic Watch Topic
  • New Topic