Skip to content

Instantly share code, notes, and snippets.

View moaschterle's full-sized avatar

Rudi Thoeni moaschterle

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Intranet.minicms
{
public class MenuCMS : IMenu
{
SmgIntranetContainer mycontainer;
public static void GetImagefromUUID(string theuuid)
{
string myuuid = "cf6a0e34-0301-4f61-999b-f16295c8f1dc";
var doc = XDocument.Load("XMLInput/media.smg.images.data.pois.ort.Andrian-0.xml");
var parser = new NodeParser();
var elements = parser.GetNodes(doc);
foreach (var item in elements.Where(n => n.UUID == myuuid))