Loading ...
Sorry, an error occurred while loading the content.

RE: [XSL-FO] Re: Attribute value

Expand Messages
  • joshua.kuswadi@btfinancialgroup.com
    ... You can also try, instead of the code above: where the curly braces {}
    Message 1 of 3 , Nov 7, 2001
    • 0 Attachment
      Severin wrote:
      > <xsl:element name="CdRegion">
      > <xsl:attribute name="ServiceName">CD-REGION</xsl:attribute>
      > <xsl:attribute name="ToOffset"><xsl:value-of select="position() *
      > $increment + $offset"/></xsl:attribute>
      > </xsl:element>

      You can also try, instead of the code above:
      <CdRegion ServiceName="CD-REGION" ToOffset="{position() * $increment + $offset}" />

      where the curly braces {} will work as Attribute Value Templates (AVTs) and evaluate the XPath expression within them.

      Joshua

      ------------------------------------------------------------------------------
      This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
    Your message has been successfully submitted and would be delivered to recipients shortly.