| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles |
- What's new in JAXP 1.3? Part 2 by Neil Graham, Elena Litani - [Clicks: 50]
In this article, the authors follow up on their overview of JAXP 1.3 in Part 1. They touch on utilities that add support for concepts defined in the Namespaces in XML specification, and describe changes to the javax.xml.transform package. They also discuss the new Java types defined and how these allow for the completion of native Java language support for W3C XML Schema datatypes. They conclude by giving details on JAXP's data model- and vendor-neutral XPath API.
http://www-106.ibm.com/developerworks/xml/library/x-jaxp13b.html - Dec, 2004 - What's new in JAXP 1.3? Part 1 by Neil Graham, Elena Litani - [Clicks: 49]
For a mature technology, the XML space is surprisingly active. Java API for XML Processing (JAXP) 1.3 was recently finalized, and is the conduit through which many of the newest open standards relating to XML will enter the J2SE platform. In this installment of a two-part article describing the JAXP 1.3 API, authors Neil Graham and Elena Litani provide a brief overview of the JAXP specification, give details of the modifications to the javax.xml.parsers package, and describe a powerful schema caching and validation framework.
http://www-106.ibm.com/developerworks/xml/library/x-jaxp13a.html - Nov, 2004 - XML Document Validation with an XML Schema by Deepak Vohra - [Clicks: 141]
An XML schema defines the structure of the elements and attributes in an XML document. For an XML document to be valid based on an XML schema, the XML document has to be validated against the XML schema. This tutorial explains the procedure of validating an XML document with an XML schema. In this article, the Xerces2-j and JAXP parsers are used to validate an XML document with an XML schema. In Xerces2-j, schema validation is integrated with the SAXParser and DOMParser parsers. In JAXP, DocumentBuilder classes are used to validate a XML document.
[Includes sample code]
http://www.onjava.com/pub/a/onjava/2004/09/15/schema-validation.html - Sep, 2004 - Java JAXP, Transforming XML to XHTML by Richard G. Baldwin - [Clicks: 48]
Baldwin shows you how to use XSLT to transform an XML document into an XHTML document. He also shows you how to write Java code to perform the same transformation.
http://www.developer.com/java/data/article.php/3398741 - Aug, 2004 - Java JAXP, Writing Java Code to Emulate an XSLT Transformation by Richard G. Baldwin - [Clicks: 43]
See how to write a Java program that mimics an XSLT transformation for converting an XML file into a text file. Once you have a library of Java methods that emulate XSLT elements, it is no more difficult to write a Java program to transform an XML document than it is to write an XSL stylesheet to transform the same document.
http://www.developer.com/java/other/article.php/3361261 - Jun, 2004 - Does StAX Stack Up? by Jeff Ryan - [Clicks: 26]
There is a new XML API in town called StAX (Streaming API for XML). Discover why we need another API in the JAXP family for processing XML documents.
http://www.developer.com/java/ent/article.php/3351701 - May, 2004 - Simplify document handler programs with the SAX parser by Gianluigi Colaiacomo - [Clicks: 26]
Sometimes the code of a SAX document handler can become cumbersome, poorly structured, and difficult to maintain, especially for complex XML structures with many different elements. This article presents a design strategy that addresses this problem, and, therefore, can improve the quality and the maintainability of your code.
http://www-106.ibm.com/developerworks/xml/library/x-dochan.html - Apr, 2004 - Parse XML with dom4j by Deepak Vohra - [Clicks: 115]
dom4j is an open-source XML framework for parsing XML documents. This article shows you how to create an XML document and modify it with the parser that's included with dom4j.
http://www-106.ibm.com/developerworks/xml/library/x-dom4j.html - Mar, 2004 - Using XML Catalogs with JAXP by Tom White - [Clicks: 26]
XML Catalogs offer a way to manage local copies of public DTDs, schemas, or any XML resource that exists outside of the referring XML instance document. Find out how to use them in Java with JAXP.
http://www.xml.com/pub/a/2004/03/03/catalogs.html - Mar, 2004 - Java JAXP, Implementing Default XSLT Behavior in Java by Richard G. Baldwin - [Clicks: 25]
Baldwin explains default XSLT behavior, and shows you how to write Java code that mimics that behavior. The resulting Java code serves as a skeleton for more advanced transformation programs.
http://www.developer.com/java/other/article.php/3313341 - Feb, 2004