Home
Über mich
Veröffentlichungen

XML XML-Schema XPath XSL-T XSL-FO XQuery XProc SVG

XPath / XPath-Funktionen / XPath: Sequenz-Funktionen / XPath 3.1: Map, xsl:map / XPath: map:size

XPath: map:size

XPath: map:size

map:size gibt die Anzahl der Map-Entries zurück.

Signatur:


map:size($map as map(*)) as xs:integer

Siehe https://www.w3.org/TR/xpath-functions-31/#func-map-size


<xsl:template match="/">
  <root>   
   <size nr="1">
    <xsl:value-of select="map:size($vmap)"/>
   </size>
  </root>
</xsl:template>

Das Ergebnis dieses Aufrufs ist unmittelbar nachvollziehbar:


<root>
 <size nr="1">3</size>
</root>

siehe auch https://www.w3.org/TR/xpath-functions-31/#func-map-size.

wg / 7. April 2020



Fragen? Anmerkungen? Tipps?

Bitte nehmen Sie Kontakt zu mir auf.






Vielen Dank für Ihr Interesse an meiner Arbeit.



V.i.S.d.P.: Wilfried Grupe * Klus 6 * 37643 Negenborn

☎ 0151. 750 360 61 * eMail: info10@wilfried-grupe.de

www.wilfried-grupe.de/map1.html