我想添加一个名为name的输入字段,因此我创建了一个XBL组件,并将其添加到Orbeon的ressources/xbl
目录中。我想创建标签" name"但它没有用。
<xbl:xbl xmlns:xh="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
xmlns:xbl="http://www.w3.org/ns/xbl"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl">
<xbl:binding element="fr|tutorial-input" id="fr-tutorial-input" xxbl:mode="lhha binding value">
<xbl:template>
<!-- Input points to the external single-node binding -->
<xf:input ref="xxf:binding('fr-tutorial-input')"/>
</xbl:template>
</xbl:binding>
<fr:tutorial-input>
<xf:label>name</xf:label>