Skip to content

Commit

Permalink
Set @id on the .main element
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 19, 2023
1 parent 9906426 commit 25aeab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,8 @@ LIMIT 100]]></sp:text>
</xsl:for-each>

<xsl:for-each select="ancestor::div[contains-token(@class, 'main')]">
<ixsl:set-attribute name="id" select="'id' || ac:uuid()"/>

<xsl:result-document href="?." method="ixsl:replace-content">
<div>
<xsl:copy-of select="$controls"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ LIMIT 100</xsl:param>
<xsl:attribute name="enctype" select="$enctype"/>
</xsl:if>

<fieldset>
<!-- <fieldset>-->
<label for="service">Service</label>
<xsl:text> </xsl:text>
<select id="query-service" name="service" class="input-xxlarge">
Expand Down Expand Up @@ -147,7 +147,7 @@ LIMIT 100</xsl:param>
</xsl:value-of>
</button>
</div>
</fieldset>
<!-- </fieldset>-->
</form>
</xsl:template>

Expand Down

0 comments on commit 25aeab1

Please sign in to comment.