 |
 |
 |
Hi,
I am new to XSLT, trying to fix a bug in somebody else's XSL transformer [it
is XSLT1.x code, part of Cocoon2.0 app].
The logic of the code goes like that (in all cases filling in one XML
structure mystruct):
...
<xml:if (condition1)
<mystruct>..block1..</mystruct>
</xml:if>
<mystruct>..block2..</mystruct>
<xml:if (condition3)
<mystruct>..block3..</mystruct>
</xml:if>
....
Does it seem fishy to you (no "else" or "choose/when/otherwise") ?
I am trying to understand when block2 is executed
and whether condition1, no-condition, condition3 become mutually exclusive.
Or should I read it as I would do it normal languages (C/C++ or Java) ?
Please advise.
Thank you in advance,
Oleg.
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |