Locale locale = LanguageDeliveryController.getLanguageDeliveryController().getLocaleWithId(templateController.getDatabase(), languageId);
String componentXPath = "//component[@id=" + componentId + "]/properties/property[@name='" + name + "']";
Xb1XPath globalXpathObject = new Xb1XPath( componentXPath );
List propertyNL = globalXpathObject.selectNodes( doc );
Iterator propertyNLIterator = propertyNL.iterator();
while(propertyNLIterator.hasNext())
{
XmlElement propertyElement2 = (XmlElement)propertyNLIterator.next();