Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Elements of non-actual position

From: "Rudolf Pischek" <rudolf.pischek@------->
To:
Date: 6/4/2002 7:26:00 AM
Hi, 
I have a problem of searching in my XML data:
<table>
  <cols>
    <col visible="1"/>
    <col visible="1"/>
    <col visible="1"/>
    <col visible="0"/>
    <col visible="1"/>
    <col visible="1"/>
    <col visible="0"/>
  </cols>
  <rows>
    <row>
      <cell>1</cell>
      <cell>2</cell>
      <cell>3</cell>
      <cell>4</cell>
      <cell>5</cell>
      <cell>6</cell>
      <cell>7</cell>
    </row>
    <row>
      ...
    </row>
    ...
  </rows>
</table>

and if I have a template:

<xsl:template match="table/rows">
  <!-- and I want in for-each: Give me all elements cell which position is the same as the position of elements cols which attribute visible is 1 -->
  <xsl:for-each="...">
    <!-- than this for-each must contain: cell 1, cell 2, cell 3, cell 5, cell 6 -->

  </xsl:for-each>
</xsl:template>

I have no idea how I can get elements, one element I can...
Thanks very much
Rudolf



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


transparent
Print
Mail
Like It
Disclaimer
.

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.

.
.

transparent

transparent