XHtmlPage Example
This a typical use case of the xhtmlpage macro.
Smartsite SXML | Copy Code |
---|---|
<se:xhtmlpage xmlns:se="http://smartsite.nl/namespaces/sxml/1.0" doctype="xhtml10transitional"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>A page title</title> </head> <body> Here comes the body. </body> </html> </se:xhtmlpage> |
Example Result | Copy Code |
---|---|
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>A page title</title> </head> <body> Here comes the body. </body> </html> |