Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Image Removed
Use an Image Added
Use
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Adding Annotations
- Drag and drop from the toolbar onto the canvas to create a new annotation
- Right-click on the annotation and select:
to access theInsert excerpt _annotation _annotation name edit nopanel true
- see belowInsert excerpt _property_settings _property_settings
to delete the annotationInsert excerpt _annotation _annotation name delete nopanel true
to create a duplicate annotationInsert excerpt _annotation _annotation name copy nopanel true
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Field | Description | |
---|---|---|
Basic Settings | ||
Name | Name given to the XML Node. This will be annotation. | |
Display Text | The text that be displayed on the actionflowcanvas. | MyXMLReader |
Input Expression | The input expression provides the source of the XML data to be operated upon. Typically, this will be a simple expression pointing at an incoming attribute, such as, the body from a HTTP Node. | // Consists of the pipe name and the name of a mapped attribute
|
XPath | The XPath expression is evaluated against the XML document provided by the Input Expression and returns a list of XML elements. It determines which elements are extracted from the XML. Note that the XPath determines the number of elements that are processed, which directly correlates to the number of records returned by the XML Node. For example, if the path returns the route element of the XML Document only one record will be returned. Whereas a path that returns children nodes will return one record for each child element. | // XML XPath /root/main/title |
name | XPathSyntax |
---|
XPath Syntax
$
@
.
[ ]
*
A worked example is provided at the end of this page.
Output Attributes
Contains a list of attributes returned by the node. In this node XML is converted into data objects that can be used by PhixFlow, this information is accessed using the syntax_result.
AttributeName
in an output attribute. To add an output attribute click the Image Removed
Namespaces
The grid contains a list of the namespaces defined in an XML response.
To add a namespace to the list, click Image Removed Create New. PhixFlow opens a new XML Namespace property pane.
To remove a namespace, use the Image Removed Delete in the toolbar.
Advanced
Field | Description | ||
---|---|---|---|
Prioritise Throughput Over Ordering | |||
Insert excerpt | Actionflow Properties | Actionflow Properties | |
name | PrioritiseThroughputOverOrdering | nopanel | truePosition Settings |
Padding Top | Define in pixels (px) the amount of padding required around the display text, at the top of the annotation. | ||
Padding Right | Define in pixels (px) the amount of padding required around the display text, on the right of the annotation. | ||
Padding Bottom | Define in pixels (px) the amount of padding required around the display text, at the bottom of the annotation. | ||
Padding Left | Define in pixels (px) the amount of padding required around the display text, on the left of the annotation. | ||
z-index | Specify the stack order of the annotation (far in front or behind the annotation should appear in relation to other annotations). | ||
Background Settings | |||
Background Colour | Select a background colour or enter a hex code. | ||
Opacity | Set the opacity of the background colour. | ||
Border Settings | |||
Border Width | Specify the border width in pixels. | ||
Border Colour | Specify the colour. | ||
Border Style | Specify the border style: Solid, Dashed, Dotted, or None. | ||
Text Settings | |||
Font | Specify a font name. | ||
Font Size | Specify a font size. | ||
Text Colour | Select a font colour. | ||
Font Weight | Choose a font weight, e.g. Bold, Normal. | ||
Font Style | Choose a font style, e.g. Italic, Normal. | ||
Text Justify | Choose from: Flex Start: text is packed toward the top of the annotation. Flex End: text is packed toward the bottom of the annotation. Center: text is centred along the main horizontal axis. | ||
Text Align | Choose from: Flex Start: text is aligned to the left of the annotation. Flex End: text is aligned to the right of the annotation. Center: text is centred along the main vertical axis. Stretch: text fills the annotation along the main horizontal axis. |
Learn More
For links to all pages in this topic, see Understanding Actionflows.