Skip to content

Commit

Permalink
Update iana-icmpv6-types.xsl
Browse files Browse the repository at this point in the history
  • Loading branch information
boucadair authored Oct 21, 2024
1 parent a8d095f commit 49332e9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions yang/iana-icmpv6-types.xsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

=============== NOTE: '\' line wrapping per RFC 8792 ================

<?xml version="1.0" encoding="utf-8"?>
<stylesheet
xmlns="http://www.w3.org/1999/XSL/Transform"
Expand Down Expand Up @@ -60,8 +57,8 @@
<with-param name="id">
<choose>
<when test="contains(iana:name, '(Deprecated)')">
<value-of select="translate(normalize-space(\
substring-before(iana:name, \
<value-of select="translate(normalize-space(
substring-before(iana:name,
'(Deprecated)')),' ','')"/>
</when>
<otherwise>
Expand All @@ -74,7 +71,7 @@
<value-of select="concat(iana:name, '.')"/>
</with-param>
<with-param name="deprecated"
select="contains(iana:name, \
select="contains(iana:name,
'(Deprecated)')"/>
</call-template>
</template>
Expand Down

0 comments on commit 49332e9

Please sign in to comment.