無料スクリプト配布のPHP.TO   PHPの実用的なtips PHPマニュアル MySQLマニュアル Apacheマニュアル PostgreSQLマニュアル マニュアル検索    

XForms

» XForms ?Web?? ????????PDF?? ????????

xforms?????????? » HTML?XForms ??XForms?????????? ??????

1 XForms?

<h:html xmlns:h="http://www.w3.org/1999/xhtml"
        xmlns="http://www.w3.org/2002/xforms">
<h:head>
 <h:title>Search</h:title>
 <model>
  <submission action="http://example.com/search"
              method="post" id="s"/>
 </model>
</h:head>
<h:body>
 <h:p>
  <input ref="q"><label>Find</label></input>
  <submit submission="s"><label>Go</label></submit>
 </h:p>
</h:body>
</h:html>

??(q??),??? ????????? action????

Web???????? ?HTML????? application/x-www-form-urlencoded ??XForms?? XML ???

XForms???????? XML ????$HTTP_RAW_POST_DATA ?? ?? XML ?????????? XSLT ????????

?????? ?????? $_POST? ?? method urlencoded-post ????? ???? application/x-www-form-urlencoded ?????????

2 XForm?$_POST?

<h:html xmlns:h="http://www.w3.org/1999/xhtml"
        xmlns="http://www.w3.org/2002/xforms">
<h:head>
 <h:title>Search</h:title>
 <model>
  <submission action="http://example.com/search"
              method="urlencoded-post" id="s"/>
 </model>
</h:head>
<h:body>
 <h:p>
  <input ref="q"><label>Find</label></input>
  <submit submission="s"><label>Go</label></submit>
 </h:p>
</h:body>
</h:html>

: ??????XForms????? ???????



powered by SEO.CUG.NET