Hi folks,

is there a more elegant way to get the target namespace of a given
CMElementDeclaration than this:

CMElementDeclaration decl = ...;
CMDocument doc = (CMDocument) decl.getProperty("CMDocument");
if (doc != null)
  String namespaceUri = (String)
    doc.getProperty(
      "http://org.eclipse.wst/cm/properties/targetNamespaceURI";);

Any help appreciated.

Florian
_______________________________________________
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to