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
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" <hmyersco@hotmail.co.uk.(donotspam)> wrote in message news:EAF14177-5D7B-49FB-AFAB-40B50496D973@microsoft.com... >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