I am loading a xml file and I want to replace the dot with a comma from the xml price output.

```
$xml = simplexml_load_file($url);
foreach( $xml->product as $product ){
    echo $product->manufacturerSKU;
    echo $product-minPriceInfo->price;
}

```

I tried 

```
$product = str_replace(',', '.', $product );

```

but I does not work on the xml output.
Thanks in advance.

Nils