Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing XML data island to other XML string
Message
From
26/11/2001 11:58:23
 
 
To
25/11/2001 14:39:15
General information
Forum:
Internet
Category:
Microsoft Internet Explorer
Miscellaneous
Thread ID:
00585500
Message ID:
00585792
Views:
21
David,

thank you very much for this simple idea.
However, it seems that data bound control is not refreshed after data change.
The following sample code still shows A in input field.
It it possible that input field shows a letter B ?
< xml id=DocHead javaDSOCompatible="true">
< DocHead>< row>< oper>A< /oper>< /row>< /DocHead>
</xml>
< script>
DocHead.innerHTML='< DocHead>< row>< oper>B< /oper>< /row>< /DocHead>';
< /SCRIPT>
< input datasrc=#DocHead datafld=oper>
>
>Your syntax does not work, because the data island is not really a DOM object with a LoadXML method. Try this (remove extra spaces):
>
>< script>
>DocHead.innerHTML='< row>< oper>B< /oper>< /row>'
>< /script>
>
>Note that to match your original sample, you need to also add the < DocHead> and < /DocHead> at the beginning and end of the above string.
>
>>I need to change value of XML data island to other XML string dynamically.
>>However, the following program produces an error
>>Object doesn't support this property or method.
>>
>>< xml id=DocHead javaDSOCompatible="true">
>>< DocHead>< row>< oper>A< /oper>< /row>< /DocHead>
>>< /xml>
>>
>>< script>
>>DocHead.LoadXML( '< row>< oper>B< /oper>< /row>');
>>< /script>
>>
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform