Parsing Xml or RSS with Expression blend and scope of Sample Data

Parsing Xml or RSS with Expression Blend 

As you have seen in the precious articles where Xml and RSS is parsed without using Blend. Here is another technique used that is with the help of blend that makes the work more easy for us.
Here are the first few steps you should keep in mind.
 First create a blank silver light application.After that in the solution explorer right click it and open the application in expression blend.
There you will have to click on the "Create Sample Data". In that button you have to click import sample data from xml.
lets see the example below.


Now here you will find two text boxes in the windows first one is for the name you will give for it .Other is for the URL path that will will be provided to get the xml code from the website.As here is the URL of bbc is provided. So it will bring the data from tha URL. 
Clicking on the porject means that the values or pages are accessed from everywhere. Just like the global variables.
clicking the Document means that this is accessed from specified page. From where the access is defined.




Now on the side data panel there appears many properties that are adjusted according to the xml code information.


Now click on the item collection and drag it on the phone grid.


Now adjust the height and width of the file and here i have changed the color of the text by going into the properties panel. here you are provided with many options to edit the text. I made some changes no doubt they are not appealing but better than plain white text. So here's our application is ready, 











Comments

Popular posts from this blog

How to move an object in Unity 3D

Input.Getaxis, OnMouseDown, GetComponent< > - Unity Scripts

Vector Math - Unity