Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOM to string in J# .NET

 
Mike Cronin
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Let me first appologize if I have posted this question in the wrong forum.

I am working on a project in Visual Studio .NET where I need to convert DOM contents to a string. I have searched by butt off with no success.

Is there anyone out there who can give me a hand with this?

My greatest thanks in advance!

Best Regards,

Mike Cronin
Data On Call Programmer

[ July 21, 2004: Message edited by: Mike Cronin ]
[ July 22, 2004: Message edited by: Mike Cronin ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The forum is as correct as it can get under this domain name... However, since you're asking about a language that few Java developers use (J#) you might have better luck asking the question at .NET forums like GotDotNet or Microsoft's own Visual J# newsgroup.
 
Mike Cronin
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lasse,

I used XmlDocument.get_OuterXml() to copy the contents of a DOM object to a string variable.

Thanks so much for your quick response.

Best Regards,

Mike Cronin
Data On Call Programmer

[ July 22, 2004: Message edited by: Mike Cronin ]
[ July 22, 2004: Message edited by: Mike Cronin ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic