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

xsl-atributte-set

Expand Messages
  • Carlos Müller de los Reyes
    I m attempting for this: (Code from Antenna House s Page) SAINS-SERIF
    Message 1 of 2 , Sep 11, 2004
      I'm attempting for this: (Code from Antenna House's Page)

      <xsl:attribute-set name="style1">
      <xsl:attribute name="font-family">"SAINS-SERIF"</xsl:attribute>
      <xsl:attribute name="font-weight">24</xsl:attribute>
      <xsl:attribute name="color">.....</xsl:attribute>
      ...
      </xsl:attribute-set>

      ....

      <fo:block xsl:use-attribute-sets="style1"> ..</fo:block>


      But don't work. I´m working with FOP in the IDE Stylus Studio (It can select Xalan-J or Saxon 6 like XSL processor), but don´t recognize since design time these xsl:attribute-set, xsl:attribute, xsl:use-attribute.

      What I need for use xsl:atributte-set ? It will be the solution for imitate CSS in XSL-FO, Isn't it?

      [Non-text portions of this message have been removed]
    • G. Ken Holman
      ... I use it all the time with Saxon 6.5.3. ... Note that it has nothing to do with XSL-FO, only with XSLT. ... I don t understand to what you refer when you
      Message 2 of 2 , Sep 11, 2004
        At 2004-09-11 10:11 +0200, Carlos Müller de los Reyes wrote:
        >I'm attempting for this: (Code from Antenna House's Page)
        >
        ><xsl:attribute-set name="style1">
        > <xsl:attribute name="font-family">"SAINS-SERIF"</xsl:attribute>
        > <xsl:attribute name="font-weight">24</xsl:attribute>
        > <xsl:attribute name="color">.....</xsl:attribute>
        >....
        ></xsl:attribute-set>
        >
        >.....
        >
        ><fo:block xsl:use-attribute-sets="style1"> ..</fo:block>
        >
        >But don't work.

        I use it all the time with Saxon 6.5.3.

        >I´m working with FOP in the IDE Stylus Studio

        Note that it has nothing to do with XSL-FO, only with XSLT.

        >(It can select Xalan-J or Saxon 6 like XSL processor), but don´t recognize
        >since design time these xsl:attribute-set, xsl:attribute, xsl:use-attribute.

        I don't understand to what you refer when you say "since design time...."

        >What I need for use xsl:atributte-set ? It will be the solution for
        >imitate CSS in XSL-FO, Isn't it?

        It is a method of implementing, styles, yes, and it is a very strategic
        XSLT construct to use when deploying both large and small XSL-FO projects.

        ................. Ken

        --
        World-wide on-site corporate, govt. & user group XML/XSL training.
        G. Ken Holman mailto:gkholman@...
        Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
        Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
        Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
        Legal business disclaimers: http://www.CraneSoftwrights.com/legal
      Your message has been successfully submitted and would be delivered to recipients shortly.