This question about Topic Markup Language and applications: Answered
MartinCleaver: Are SEARCH blocks expanded within HTML comments?
It looks like they aren't, which is a shame because I wanted to see how a SEARCH expands before the result is passed to
DirectedGraphPlugin
Example:
<!--
* Set QUERY=%SEARCH{params}%
-->
<dot map=1> digraph A {
%Q% } </dot>
%Q
I hoped this would show me the query result that it fed to dot.
Looking at the HTML it seems that Q is left unset.
This means to debug I have to copy the SEARCH block twice, once inside dot and again after it.
It will work inside a comment block.
If you want to read
%Q%
, then you need to
Set
it, not
Set QUERY
. You may also need spaces around the equal sign.
--
SeanMorgan - 08 Feb 2010