Questions tagged [jaxp]

The Java API for XML Processing (JAXP) enables applications to parse, transform, validate and query XML documents using an API that is independent of a particular XML processor implementation.

The Java API for XML Processing (JAXP) enables applications to parse, transform, validate and query XML documents using an API that is independent of a particular XML processor implementation.

JAXP provides a pluggability layer to enable vendors to provide their own implementations without introducing dependencies in application code. Using this software, application and tool developers can build fully-functional XML-enabled Java applications for e-commerce, application integration, and web publishing.

JAXP is a standard component in the Java platform. An implementation of the JAXP 1.3 is included in J2SE 5.0 and an implementation of JAXP 1.4 is in Java SE 6.0 and OpenJDK7. JAXP 1.4 is a maintenance release of JAXP 1.3 with support for the Streaming API for XML (StAX).

External links:

215 questions
0
votes
2 answers

How to replace an XML element with another (of another document)?

Here is my problem: I have a source XML file that is parsed to a DOM. I also got an XML fragment (like: text1). The "root" element of the fragment will always match with an element (same name) in the source DOM. Can I replace the DOM's…
user2089117
  • 3
  • 1
  • 3
0
votes
1 answer

Difference between the SAXParserfactory and XMLReaderFactory

Yesterday I have read the documentation related with SAX2 API class XMLReaderFactory and SAXParserFactory of JAXP API. Both of them used to serve the same purpose of providing the instance of the XMLReader class. Then I have gone through the…
Beast
  • 639
  • 2
  • 14
  • 29
0
votes
1 answer

How to resolve the Entity declarations and get the file path in an XML?

]> .... With reference to the above sample code, i…
Napster
  • 157
  • 3
  • 17
-1
votes
1 answer

Which xml technology to extract fields from an xml file should I use

I work with Java. I have a bunch of long XML files. I have to filter the documents by several fields, then I have to extract other fields and then create an java object based on these fields. How should I do this? SAX, JDOM, XSLT, XPATH, JAXP etc.?…
Fireworx
  • 11
  • 5
-1
votes
1 answer

How to use the information of a parsed xml file (java)?

I have parsed a XML file using a DOM parser in Java but I require tips on how to actually use this information. I have to create a method that takes the information parsed and sends out commands, based on certain information extracted from the…
1 2 3
14
15