Monday, June 16, 2008

XPathNodeIterator - Microsoft ASP.NET

XPathNodeIterator iterator = navigator.Select(
    "productData/categories/category[@name='category']/tariffs/tariff[@id='nn']/networks/network");
while (iterator.MoveNext())
{
    XPathNodeIterator products = 
        iterator.Current.Select("products/product"); 
    while (products.MoveNext()) 
    {
        XPathNavigator productNavigator = 
            products.Current; XPathNodeIterator prodDetails = 
                productNavigator.SelectDescendants(XPathNodeType.Text, false); 
                    String name, link; 
        while (prodDetails.MoveNext()) 
        {
            if (prodDetails.CurrentPosition == 1) name = prodDetails.Current.Value; 
                if (prodDetails.CurrentPosition == 2) link = prodDetails.Current.Value;
 
        } 
    /// utilize your strings here
    }
}

iPhone Launch Screen Sizes

iPhone Portrait iOS 8 Retina HT 5.5 = 1242 X 2208 Retna HD 4.7 = 750 X 1134 iPhone Landscape iOS 8 Retina HD 5.5  2208 X 1242 iPho...