Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Basic query re Cloning/inserting node elements

0 views
Skip to first unread message

Howard Myers

unread,
Jun 23, 2009, 10:20:01 AM6/23/09
to

I am developing an application using the XML DOM and HTTP POST. Here is an
extract of an XML document which I wish to copy/clone and insert into the
document when multiple share information applies. I have experimented with
CloneNode, AppendChild but cannot get the elements inserted correctly. Pretty
basic stuff but for the life of me I cannot see where I'm going wrong.

....................
<IssuedShareCapital>
<NumShares>1</NumShares>
<Currency>GBP</Currency>
<ShareValue>1.00</ShareValue>
<IssuedShares>
<ShareClass>Ordinary</ShareClass>
<NumShares>1</NumShares>
<AggregrateNominalValue>1</AggregrateNominalValue>
</IssuedShares>
</IssuedShareCapital>
.............................--
H.Myers

Joe Fawcett

unread,
Jun 24, 2009, 4:39:31 AM6/24/09
to

Can you elaborate? Into what document and where do you want to insert this
data?
And what technologies do you use? This group concentrates on .NET but you
seem to refer to Microsoft's COM implementation.

--

Joe Fawcett (MVP - XML)

http://joe.fawcett.name

"Howard Myers" <hmye...@hotmail.co.uk.(donotspam)> wrote in message
news:EAF14177-5D7B-49FB...@microsoft.com...

0 new messages