Hi;
Is it possible to have two rules affecting similar nodes, but
differing by whether an attribute is set? I don't think attributes
are accessible in a match qualifier for a template, but if it was, add
the attribute in the first rule (first rule only works where the
attribute is not found).
The logic I have is that you can <xsl:apply-templates select="."/> but
you're generating an endless loop, so the question is how to "sentry"
out of that loop.
Allan
On 5/4/07, John Maddock <[EMAIL PROTECTED]> wrote:
I'm trying to improve on our current PDF generation, and in particular to
get syntax highlighting of code to work.
I've mostly got it working, but I ended up cut-and-pasting some of the
Docbook->FO code into out own tools/boostbook/xsl/fo.xsl file in order to
make the changes I wanted to "programlisting" node handling. This seems a
rather silly way of doing things, and I'm sure I must be doing something
wrong.... anyone know if there's any way to apply the transform I want, and
then "inherit" the existing behaviour for the same node as well?
<xsl:apply-templates/> only applies to child nodes, I need something more
like "process this node again, but not with the current rule".
Cheers, John.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs
--
[EMAIL PROTECTED] "金鱼" http://dr.chickenandporn.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs