I did it like this, don't know if this is the recommended way ?
Code:
foreach (XmlNode tempNode in content.xmlContent.GetElementsByTagName("node"))
{
if (tempNode.Attributes["nodeTypeAlias"].Value == "CentrumPage")
{
ddCentrums.Items.Add(tempNode.Attributes["nodeName"].Value);
}
}
Umbraco tips and tricks:
http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional