文章列表
import javax.xml.parsers.*;
import org.w3c.dom.*;
import java.io.*;
public class DOMTest {
public static void main(String[] args) {
try {
DocumentBuilderFactory dbfactory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = dbfactory.newDocumentBuil ...
- 2008-05-05 16:45
- 浏览 805
- 评论(1)
The Built-in Template Rules
There are seven kinds of nodes in an XML document: 引用the root node, element nodes, attribute nodes, text nodes, comment nodes, processing instruction nodes, and namespace nodes. XSLT provides a default built-in template rule for each of these seven kinds of nodes that says ...
- 2008-04-30 20:13
- 浏览 888
- 评论(0)
? Zero or one of the element is allowed.
* Zero or more of the element is allowed.
+ One or more of the element is required.
In narrative documents, it's common for a single element to contain both child elements and un-marked up, nonwhitespace character data. For example, recall this defin ...
- 2008-04-30 19:48
- 浏览 730
- 评论(0)
Up until this point, we've been using what are called abbreviated location paths . These are easy to type, not usually verbose, and very familiar to most people. They're also the kind of XPath expression that works best for XSLT match patterns. However, XPath also offers an unabbreviated syntax for l ...
- 2008-04-28 19:48
- 浏览 1331
- 评论(0)
Here:
http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?WSDL
create a webservice client, xfire.
System.out.println(service.getGeoIPContext().getString());
done.
- 2008-04-24 01:14
- 浏览 1176
- 评论(0)
<bean id="logBeforeAdvice"
class="com.hwp.aop.adviceDemo.BeforeAdviceDemo" />
<bean id="logAfterAdvice"
class="com.hwp.aop.adviceDemo.AfterAdviceDemo" />
<bean id="logRoundAdvice"
class="com.hw ...
- 2008-04-23 21:32
- 浏览 859
- 评论(0)
<parameterMap id="single-rs" class="java.util.HashMap" >
<parameter property="out1" jdbcType="VARCHAR" mode="OUT" />
</parameterMap>
<procedure id="callSomeFunction" parameterMap="si ...
- 2008-04-23 21:25
- 浏览 956
- 评论(0)
public interface IOther {
public void doOther();
}
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.IntroductionInterceptor;
public class IChangeAdvisora implements IntroductionInterceptor,IOther{
public Object invoke(MethodInv ...
- 2008-04-23 21:09
- 浏览 1014
- 评论(0)