 |
Author |
|
Topic: Data islands
[Link=148] |
|
ShailendraSawant
New Member
Posts: 3

Gender: 
|
|
Data islands (Date posted: 02/10/06 at 07:40:13) |
 |
Hi,
I want to map the data island to html text boxes. Now i have two problems:
1. The XML elements have attributes, which can not be avoided, and the mapping vis datafld doesnot work for them.
2. The data island can be updated without refreshing the page, i want that the html elements (text boxes) which are mapped to the XML elements to updated automatically. Is it possible and how??
My yahoo messenger id is sawant_shail. I am available over yahoo phone, so that we can speak if required.
~ Best regards,
Shailendra
|
|
Ip: Logged |
|
JRepici
Administrator
  
Posts: 328

Gender: 
|
|
Re: Data islands (Date posted: 02/10/06 at 11:32:45) |
 |
Shailendra,
First, there's the ever-present need to point out that data-islands are a "Microsoft-only" notion. They won't work in other browsers or on other platforms.
- XML attributes: That said, if you are under a mandate, you may be able to deal with the problems you're having with attributes. See this thread for information on how Microsoft views attributes in data-island bound XML.
- Asynchronous (without hitting refresh) updates: I have no idea how to make a data-island do this. However, there is something relatively new out there called Ajax (Asynchronous JavaScript And XML) that WILL let you do what you want. You won't need a (Microsoft specific) data-island because now you can load the XML (or HTML, or text, or ...) document right from your JavaScript code and parse it any way you like. Google XMLHttpRequest for more information.
I'm not sure this helps. I must confess, I have not been very interested in data islands since learning what the Microsoft Press books about them didn't tell me... That they are a Microsoft ONLY technology.
-John
|
|
Ip: Logged |
|
ShailendraSawant
New Member
Posts: 3

Gender: 
|
|
Re: Data islands (Date posted: 02/10/06 at 09:40:04) |
 |
Hello John,
Thanks for the proposed solution. I am looking into it and continue doing so over the week end. U see, this is a very prestigious module for me as my ability will be tested with this module. Lets hope for the best.
My project is IE specific, so there would not be any cross browser issue.
Thanks and regards,
Shailendra
|
|
Ip: Logged |
|
JRepici
Administrator
  
Posts: 328

Gender: 
|
|
Re: Data islands (Date posted: 02/10/06 at 11:36:10) |
 |
Shailendra,
I am sorry I could not be more help.
Good luck with your project. But I know you won't need it 'cause you're going to nail it! 
-djr
|
|
Ip: Logged |
|
|