$item->children (http://……) in C#

I’m working on converting a PHP Google calendar parser to .NET/C#. I’m not that familiar with PHP; I was having trouble understanding how this line works:

$gd = $item->children('http://schemas.google.com/g/2005')

It comes in part of a foreach loop:

$s = simplexml_load_file($feed); 

foreach ($s->entry as $item) {
    $gd = $item->children('http://schemas.google.com/g/2005');
    if ($gd->eventStatus->attributes()->value == $confirmed) {
?>
        <font size=+1><b>
            <?php print $item->title; ?>
        </b></font><br>..........

My main question is how does $item->children(‘http://schemas.google.com/g/2005′) work? What does it do with the URL? Is there an equivalent in .Net or C#?

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories