IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Namespaces Property

A collection of namespaces in the current namespace stack.

Syntax

public XMLNamespaceList getNamespaces();
public void setNamespaces( namespaces);

Remarks

This property contains a list of the XML namespaces that exist in the current Atom channel. The general Atom protocol allows non-standard fields to be added through XML namespaces.

When parsing an Atom feed retrieved through the GetFeed method, the component will store all properties that are standard in version 2.0 of the Atom protocol, regardless of the version given by the feed. For non-standard properties, it will verify that the property has a namespace and that the namespace is defined within the Atom feed. If a property's definition cannot be found, the component throws an exception. Non-standard fields can be retrieved through the GetProperty method.

When using the WriteFile method to generate an Atom feed that contains non-standard properties you must use the SetProperty method.

Please see the GetProperty and SetProperty methods for details on argument syntax.

If the Atom URL is not found in the namespace collection, it will be added as the default namespace when generating a feed. That namespace is "http://www.w3.org/2005/Atom".

This collection is indexed from 0 to size - 1.

This property is not available at design time.

Default Value

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0