Re: Port unreadable from within p:choose

Dear Norm,

Thanks so much for the quick reply and your help! That was exactly it! 
The solution sorted out my problem with the |p:viewport| step that I was 
struggling to get into a |p:choose| block too.

Just for my reference, is this what the docs 
( are talking about in the 
paragraph that starts with "The outputs of the |p:choose| are taken from 
the outputs..."?

Anyway, thanks a ton again!


Lexicon Mediae et Infimae Latinitatis Polonorum
Institute of Polish Language PAS
--  |  |

>> In the second step, I'm processing the output depending on the document type:
>> <p:choose name="doc_meta">
>>      <p:when test="$mode = 'A'">
>>          <p:xslt initial-mode="process_metadata">
>>              <p:input port="source">
>>                  <p:pipe port="result" step="add_id"/>
> […]
>> I'm using Calabash in Oxygen, and it's complaining: "XE0001: Unreadable port: result on doc_meta." The
> The doc_meta step doesn’t have a result output port because you didn’t name the output port. It has an anonymous output port. Try adding
>    <p:output port="result"/>
> to each of the when and otherwise clauses.
>                                          Be seeing you,
>                                            norm
> --
> Norm Tovey-Walsh<>
>> All we have to believe with is our senses, the tools we use to perceive the world: our sight, our touch, our memory. If they lie to us, then nothing can be trusted. And even if we do not believe, then still we cannot travel in any other way than the road our senses show us; and we must walk that road to the end. (American Gods)--Neil Gaiman

Received on Monday, 18 March 2024 14:28:24 UTC