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(XMLNamespaceList namespaces);

Remarks

This property contains a list of the XML namespaces that exist in the current RSS channel. Each version of the RSS protocol defines a specific set of standard RSS feed properties. However, the general RSS protocol allows non-standard fields to be added through XML namespaces.

When parsing an RSS feeds retrieved through the GetFeed method, the bean will store all properties that are standard in version 2.0 of the RSS 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 RSS feed. If a property's definition cannot be found, the bean throws an exception. Non-standard fields can be retrieved through the GetProperty method.

When using the WriteFile method to generate an RSS feed that contains non-standard properties you must use the SetProperty method to set each non-standard property. The bean will ignore any property whose namespace is not defined when generating the RSSData.

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

This property is not available at design time.

Default Value

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