xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason McIntosh" <zendo...@gmail.com>
Subject sXBL content includes
Date Sun, 05 Nov 2006 18:36:55 GMT
What's the current functionality status of the "includes" attribute of
the xbl:content element?

Based on what I've learned about xSBL, I would expect the following
simple SVG document to print "This text isn't in a label element."
followed by "This text is within a label element!" However, only the
first line prints. I am using a Squiggle that I built with the latest
SVN trunk sources (revsion 471487).

I am prepared to learn that I'm doing something wrong, and would
appreciate a pointer if that's the case.

    xmlns="http://www.w3.org/2000/svg" version="1.2"

      <xbl:definition element="myNS:no-label">
            <xbl:content />

      <xbl:definition element="myNS:has-label">
            <xbl:content includes="has-label"/>


  <g font-size="14pt" font-family="Verdana" transform="translate(10, 35)">
      This text isn't in a label element.

  <g font-size="14pt" font-family="Verdana" transform="translate(10, 65)">
      This text is within a label element!


Jason McIntosh
President and Founder
Volity Games

Digital Games for Analog People.

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message