From: Wolfgang M. <wol...@gm...> - 2006-04-24 17:38:14
|
> Could someone please point me to the correct format or an example to use = this > option to define the doctype in XQuery - I'm just trying to generate a st= andard > XHTML header: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en" xml:lang= =3D"en"> Another working example: declare option exist:serialize "method=3Dxhtml indent=3Dyes omit-xml-declaration=3Dno doctype-public=3D-//W3C//DTD XHTML 1.1//EN doctype-system=3Dhttp://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"; <html><body><h1>Test</h1></body></html> Wolfgang |