Hi
I am try to figure out how to load an XML file using a dynamic name. I first used the oxf:identity processor, but could not load a variable name (say using a <xsl:value-of> statement into the href= "">
I then tried the oxf:url-generator processor, but this section of code does not seem to get executed in my pipeline. Here is a sample of the code. I know the "<p:when>" statement is true, because other processors further on in the flow are being executed.
Any suggestions would be appreciated
<p:param name="instance" type="input" debug="instance_data"/>
<p:param name="data" type="output"/>
<p:choose href="">"#instance">
<p:when test="/instanceData/meta/screen-id != ''">
<!-- Retreive the appropriate flow config document for this screen-->
<p:processor name="oxf:url-generator" xmlns:p="http://www.orbeon.com/oxf/pipeline">
<p:input name="config">
<config>
<url>oxf:/config/pageMgrConfig/<xsl:value-of select="/instanceData/meta/screen-id"></xsl:value-of>.xml</url>
<content-type>application/xml</content-type>
</config>
</p:input>
<p:output name="data" id="xml_config" debug="xml_config"/>
</p:processor>
Thanks,
Brian Bacsu
- Re: [orbeon-user] Re: loading xml file using dynamic nam... Brian Bacsu
- Re: [orbeon-user] Re: loading xml file using dynami... Matthew J. Graham
- Re: [orbeon-user] Re: loading xml file using dynami... Brian Bacsu
- Re: [orbeon-user] Re: loading xml file using dy... Alessandro Vernet
- Re: [orbeon-user] Re: loading xml file using dynami... Brian Bacsu
