`
icz
  • 浏览: 7759 次
  • 来自: ...
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表

DOM ,SAX practise

    博客分类:
  • XML
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 ...

XSLT

    博客分类:
  • XML
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 ...
? 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 ...

XML fundenmental 1

    博客分类:
  • XML
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 ...
Here: http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?WSDL create a webservice client, xfire.   System.out.println(service.getGeoIPContext().getString()); done.
<bean id="logBeforeAdvice" class="com.hwp.aop.adviceDemo.BeforeAdviceDemo" /> <bean id="logAfterAdvice" class="com.hwp.aop.adviceDemo.AfterAdviceDemo" /> <bean id="logRoundAdvice" class="com.hw ...

call procedure.

<parameterMap id="single-rs" class="java.util.HashMap" > <parameter property="out1" jdbcType="VARCHAR" mode="OUT" /> </parameterMap> <procedure id="callSomeFunction" parameterMap="si ...
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 ...
Global site tag (gtag.js) - Google Analytics