Skip to Content
0
Jul 01, 2022 at 09:36 AM

An attribute whose value must be a QName or whitespace-separated list of QNames

85 Views

Hello,
In Integration framework 2 I want to create txt file. In xsl I define it in this way:

<bfa:io pltype="txt">
<bfa:row>
<bfa:col>0x01 SOH></bfa:col>
</bfa:row>
<bfa:row>
<bfa:col>`BV[COMPNAME]</bfa:col>
<bfa:col><xsl:value-of select="$CompnyName"></xsl:value-of></bfa:col>
</bfa:row>
<bfa:row>
<bfa:col>0x17 ETB></bfa:col>
</bfa:row>
</bfa:io>

Integration Framework returns error:
An attribute whose value must be a QName or whitespace-separated list of QNames had the value

The variable '$CompnyName' contains value where are white spaces, but how to wrap such variable to avoid this error?

Thank You
Zdenek