🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.xml
Article #196

Re: String to XML Node - Is it possible ?

#196
From: Stefan M. Huber
Date: Wed, 18 Jun 2008 10:27
13 lines
1491 bytes
On Wed, 18 Jun 2008 11:55:16 +0200, Maz Alf <MazAlfdot@bigpond.comdot>  
wrote:

> I need to cut and park away a node and children at a point in time then,  
> if the user decides to do a paste, and they may not, I need to paste it  
> back
> again.

Well, you have a well formed XML string. You could create a temporary  
XMLDocument when pasting and feed it with the saved string (LoadFromXML).  
Then you have a separate XML tree which you can traverse.

Stefan
Technical Details
Message-ID: <op.ucxwoqh4s9ddfw@ws-6>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <48584887$1@newsgroups.borland.com> <485850f5$1@newsgroups.borland.com> <48586dda@newsgroups.borland.com> <op.ucxk66zgs9ddfw@mars.huste.lnet> <4858db8c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,4434e33551e5f7c2
X-Google-Attributes: gidf5d9b,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 18 Jun 2008 12:27:52 +0200
Subject: Re: String to XML Node - Is it possible ?
From: "Stefan M. Huber" <looseleaf@gmx.net>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.delphi.xml
References: <48584887$1@newsgroups.borland.com>
 <485850f5$1@newsgroups.borland.com> <48586dda@newsgroups.borland.com>
 <op.ucxk66zgs9ddfw@mars.huste.lnet> <4858db8c$1@newsgroups.borland.com>
Content-Transfer-Encoding: 7bit
Message-ID: <op.ucxwoqh4s9ddfw@ws-6>
User-Agent: Opera Mail/9.50 (Win32)
NNTP-Posting-Host: 91.113.174.42
X-Trace: newsgroups.borland.com 1213784877 91.113.174.42 (18 Jun 2008 03:27:57 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail