Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » WebService/XML/JSON/SOAP/SOA  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 xsql info [Re:floater]
coder



CJSDN高级会员


发贴: 140
积分: 110
于 2002-12-20 10:03 user profilesend a private message to usersend email to codersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
XSQL
Oracle 公司开发的 Oracle XML Devleper Kit(简称 XDK)的一个组件。
更多信息请看 http://technet.oracle.com/tech/xml

只是一个简单Demo
1. URL格式:
http://yourcompany.com/AvailableFlightsToday.xsql?City=NYC

2. AvailableFlightsToday.xsql
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="FlightList.xsl"?>
<xsql:query connection="demo" bind-params="City" xmlns:xsql="urn:oracle-xsql">

SELECT Carrier, FlightNumber, Origin, TO_CHAR(ExpectedTime,'HH24:MI') Due
FROM FlightSchedule
WHERE TRUNC(ArrivalTime) = TRUNC(SYSDATE)
AND Destination = ?
ORDER BY ExpectedTime

</xsql:query>

3. 如果注释引入xsl的那句,就会直接输出xml




Hibernate的优点

话题树型展开
人气 标题 作者 字数 发贴时间
18285 10 minutes in XML??? floater 558 2002-12-17 11:03
16890 Re:10 minutes in XML??? wishmaster 462 2002-12-17 15:47
17084 Re:10 minutes in XML??? floater 1956 2002-12-18 00:42
16623 Re:10 minutes in XML??? wishmaster 3044 2002-12-19 15:02
17566 Re:10 minutes in XML??? floater 534 2002-12-20 02:55
16588 Re:10 minutes in XML??? wishmaster 117 2003-01-07 11:53
16865 Re:10 minutes in XML??? jackycct 866 2003-02-14 15:32
16717 Re:10 minutes in XML??? wishmaster 596 2002-12-17 17:11
16639 Re:10 minutes in XML??? wishmaster 0 2002-12-17 17:18
16605 Re:10 minutes in XML??? wishmaster 0 2002-12-17 17:23
16623 O'Reilly - XML In Nutshell 2nd Edition Uploaded wishmaster 91 2002-12-17 17:26
17207 look here coder 384 2002-12-18 16:14
17010 Re:look here floater 628 2002-12-19 00:12
16764 Re:look here wishmaster 506 2002-12-19 15:10
17077 my option coder 142 2002-12-19 11:15
17362 Re:my option floater 592 2002-12-20 02:27
17269 xsql info coder 634 2002-12-20 10:03
16998 Re:xsql info wishmaster 918 2002-12-21 16:38
17063 Re:10 minutes in XML??? floater 41 2002-12-21 00:02
16745 Re:10 minutes in XML??? irisjacky 4475 2003-01-07 11:01
17679 Re:10 minutes in XML??? floater 704 2003-01-07 12:39
16662 Re:10 minutes in XML??? wishmaster 615 2003-01-07 13:08
17286 Re:10 minutes in XML??? floater 339 2003-01-08 12:48

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923