[...] The setting of the four parameters you discovered is described here http://sagehill.net/docbookxsl/UsingCSS.html#RoleAsClass why only four entities are handled this way I don't know.
> So first problem to resolve is how to propagate role="foobar-open-block" > into the .xml file. > Which is what the pointer in my previous post was for, use their example code, <xsl:template match="*" mode="class.value"> <xsl:param name="class" select="local-name(.)"/> <!-- permit customization of class value --> <!-- Use element name by default --> <xsl:value-of select="$class"/> </xsl:template> but return the value of the role attribute instead of $class. That should do all roles in one function. If thats not possible you should be able to do it only for specific roles by using multiples of the sagehill example <xsl:template match="chapter[@status = 'draft']" mode="class.value"> <xsl:value-of select="'draft-chapter'"/> </xsl:template> but with role='funny-yellow' instead of status=draft and of course returning the class name you want to use for funny yellow. Cheers Lex > Let me know where to start on this. After I this is fixed I'll move onto the > ugliness of decoding how > <xsl:param name="entry.propagates.style" select="1"></xsl:param> effects xsl > processing and > figure out how to do the same for the open-block + table case. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
