@@ -201,13 +201,12 @@ exclude-result-prefixes="#all"
201201 </xsl : template >
202202
203203 <!-- chart block -->
204- <xsl : template match =" *[@typeof = ('&ldh;ResultSetChart', '&ldh;GraphChart')][descendant::*[@property = '&spin;query'][@resource]][descendant::*[@property = '&ldh;chartType'][@resource]]" mode =" ldh:RenderBlock" priority =" 1" >
204+ <xsl : template match =" *[@about][@ typeof = ('&ldh;ResultSetChart', '&ldh;GraphChart')][descendant::*[@property = '&spin;query'][@resource]][descendant::*[@property = '&ldh;chartType'][@resource]]" mode =" ldh:RenderBlock" priority =" 1" >
205205 <xsl : param name =" block" select =" ancestor::div[@about][1]" as =" element()" />
206- <xsl : param name =" about" select =" $block/ @about" as =" xs:anyURI" />
206+ <xsl : param name =" about" select =" @about" as =" xs:anyURI" />
207207 <xsl : param name =" container" select =" ." as =" element()" />
208208 <xsl : param name =" graph" select =" descendant::*[@property = '&ldh; graph']/@resource" as =" xs:anyURI?" />
209209 <xsl : param name =" mode" select =" descendant::*[@property = '∾ mode']/@resource" as =" xs:anyURI?" />
210- <xsl : param name =" block-uri" select =" $about" as =" xs:anyURI" />
211210 <xsl : param name =" container-id" select =" ixsl:get($container, 'id')" as =" xs:string" />
212211 <xsl : param name =" method" select =" 'patch'" as =" xs:string" />
213212 <xsl : param name =" action" select =" xs:anyURI('')" as =" xs:anyURI" />
@@ -323,6 +322,7 @@ exclude-result-prefixes="#all"
323322 <xsl : with-param name =" this" select =" $about" />
324323 <xsl : with-param name =" block" select =" $block" />
325324 <xsl : with-param name =" container-id" select =" $container-id" />
325+ <xsl : with-param name =" chart-uri" select =" $about" />
326326 <xsl : with-param name =" query-uri" select =" $query-uri" />
327327 <xsl : with-param name =" chart-type" select =" $chart-type" />
328328 <xsl : with-param name =" category" select =" $category" />
@@ -448,6 +448,7 @@ exclude-result-prefixes="#all"
448448 <xsl : param name =" container" as =" element()" />
449449 <xsl : param name =" this" as =" xs:anyURI" />
450450 <xsl : param name =" container-id" as =" xs:string" />
451+ <xsl : param name =" chart-uri" as =" xs:anyURI" />
451452 <xsl : param name =" query-uri" as =" xs:anyURI" />
452453 <xsl : param name =" chart-type" as =" xs:anyURI" />
453454 <xsl : param name =" category" as =" xs:string?" />
@@ -481,6 +482,7 @@ exclude-result-prefixes="#all"
481482 <xsl : with-param name =" container" select =" $container" />
482483 <xsl : with-param name =" chart-canvas-id" select =" $canvas-id" />
483484 <xsl : with-param name =" block-uri" select =" $block/@about" />
485+ <xsl : with-param name =" chart-uri" select =" $chart-uri" />
484486 <xsl : with-param name =" chart-type" select =" $chart-type" />
485487 <xsl : with-param name =" category" select =" $category" />
486488 <xsl : with-param name =" series" select =" $series" />
0 commit comments