<< Index

Style Getter

Page | Source
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>   
    <title>XQIB: Sample page</title>
    <meta charset="UTF-8"/>
    <script type="text/javascript" src="mxqueryjs/mxqueryjs.nocache.js"></script>
    <script type="application/xquery">
      b:alert(
        b:dom()//body/b:getStyle(., "color")
      )
    </script>
  </head>
  <body style="color: orange">
    <h1>Style getter</h1>
    This is text.
  </body>
</html>