[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Adding a childnode to a DataIsland
Subject: Adding a childnode to a DataIsland From: "Sunny" <sandeepsethi@xxxxxxxxxxxxx> Date: Wed, 2 Aug 2000 01:54:07 -0400 |
Hi ! I have an XML dataisland that looks like this - <body> <xml id=roomsXML> <rooms> <room id=101> <features> <feature name='a/c'><feature name='bar'></features> <properties> <property name='abc' value='105'> <property name='xyz' value='187'></properties> </room> <room id=102> <features> <feature name='jacuzzi'><feature name='poolside'></features> <properties> <property id='31' value='107'> <property id='33' value='109'></properties> </room> </rooms> </xml> </body> I also have a string variable somewhere in the script that does: <begin_code> ..... ..... var strNewRoom=xmlhttp.responseText (i can use responseXML if you need me to) </begin_code> So now, strNewRoom would have the following value returned by a XMLHttp call: "<room id=102><features> <feature name='jacuzzi'><feature name='poolside'></features> <properties> <property id='31' value='107'> <property id='33' value='109'></properties></room>" How do I add the contents of this variable as a childNode to roomsXML ? Is it better if I fill in strNewRoom with xmlhttp.responseXML instead ? How would I add it to the dataisland then ? tia, Sunny. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Saxon VS XT, Paul Tchistopolskii | Thread | RE: Adding a childnode to a DataIsl, Chris Bayes |
RE: OM script -> xsl stylesheet, Bryan Schnabel | Date | RE: node-set() function in MSXML?, Pawson, David |
Month |
Keywords