Parameter xml representation

In the previous examples, you saw how to reference parameters from your XSQL page. But what if you want the parameters to be part of the result? This is the job of two actions: <xsql:include-request-param> and <xsql:include-request-params>. This action outputs all of the parameters to the XML. Here is an example of <xsql:include -request-param>: <?xml version=”1.0”?> <page xmlns:xsql=”urnracle-xsql”> <xsql:include-param name=”conn” /> <xsql:include-param name=”fields” /> <xsql:include-param name=”tables” /> </page> Now save this as include-param.xsql. You can either pass the parameters in on the URL as before or change the action of your very-unsecure.html form to include-params.xsql. In either case, this page should produce the result shown in Figure 6.2. Figure

pdf60 trang | Chia sẻ: tlsuongmuoi | Lượt xem: 1898 | Lượt tải: 0download
Bạn đang xem trước 20 trang tài liệu Parameter xml representation, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên

Các file đính kèm theo tài liệu này:

  • pdforacle_xsql_combining_sql_oracle_text_xslt_and_java_to_publish_dynamic_web_content00003_7219.pdf
Tài liệu liên quan