device:getDeviceName

Purpose

Returns the name of the requesting device.

Signature

device:getDeviceName() as xs:string

Alias

device:name() as xs:string

Example

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
  xmlns:pipeline="http://www.volantis.com/xmlns/marlin-pipeline">
  <head>
    <title>device:getDeviceName()</title>
  </head>
  <body>
    <p>Device name: <pipeline:value-of expr="device:getDeviceName()"/></p></body>
</html>

Related topics