[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Adding a childnode to a DataIsland

Subject: RE: Adding a childnode to a DataIsland
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Wed, 2 Aug 2000 09:09:08 +0100
xml dataisland
roomsXML.innerHTML = strNewRoom;

Ciao Chris

>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sunny
>Sent: 02 August 2000 06:54
>To: xsl-list@xxxxxxxxxxxxxxxx
>Subject: Adding a childnode to a DataIsland
>Hi ! I have an XML dataisland that looks like this -
><xml id=roomsXML>
>    <room id=101>
>        <features> <feature name='a/c'><feature name='bar'></features>
>        <properties> <property name='abc' value='105'> <property name='xyz'
>    </room>
>    <room id=102>
>        <features> <feature name='jacuzzi'><feature
>        <properties> <property id='31' value='107'> <property id='33'
>    </room>
>I also have a string variable somewhere in the script that does:
>    .....
>    .....
>    var strNewRoom=xmlhttp.responseText (i can use responseXML if you need
>me to)
>So now, strNewRoom would have the following value returned by a XMLHttp
>"<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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.