You can not use colons, for example my:name, in the blocks and fields in your XMLIN Event. This is because the XPath engine used with StoryTeller treats colons as name space separators. However, as name spaces are not supported by StreamServe, the XPath expression does not return anything in this case.
Values expected for substitutions referenced by an XPath must exist. If you want to avoid an exception (which causes the processing to stop), you can use the string() XPath function. This returns an empty string if the retrieved value does not exist.Or, you can use the boolean stIsEmpty() script function that returns true for an empty object. It can be used both in before and after scripts.For more information, see the StreamServe Scripting reference.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |