XML Section Index | Page 6
Is it possible to use XSLT to remove elements with duplicate values from an XML file? For example, given the following: <example> <element>A</element> <element>B</...more
What is the relationship between the Sun Projet X library and JAXP? Is there any other library aside from Project X which allows regestering my own classes which are created when certain XML elements are encountered (like factory.addMapping (props, classloader) in Project X)?
What is the relationship between the Sun Projet X library and JAXP? Is there any other library aside from Project X which allows regestering my own classes which are created when certain XML eleme...more
You can do one of two things: Replace the Tomcat system files jaxp.jar and parser.jar (located in TOMCAT_HOME/lib) -- that is, delete them and install the Xerces jars in their place Include your ...more
Is there any ready made parser avaialble to parse HTML or to convert HTML to XML or XHTML ? Basically I want to extract data from HTML.
Try using Tidy http://www.w3.org/People/Raggett/tidy/ to clean up the HTML.
Voice eXtensible Markup Language (VoiceXML) specifies an XML-based markup language for speech recognition and synthesis applications using landline and mobile phone systems. Many J2ME-enabled dev...more
I am trying to generate an XML file using the JAXP API. From a Java application it works correctly but when used in a JSP it gives a SAXException. I am running JSP page on the Java Web Server. Why is this happening?
It looks like your JSP file in the webserver is not able to reach the SAXparser jar file. Make sure the classpath is set properly before running the webserver and also inclusion of jar file is mad...more
By using XSLT transformation technique how do I map an XML file to another XML file? I have data in a particular format. How can I automatically generate XSL mapping file, so that it can become in...more
I need to design a database in which the columns have to be assigned dynamically whenever a user defines a new attribute. Is it possible to have a flexible database column design using XML, and an Oracle/SQL Server? How?
About the database, you can design it like this: CREATE TABLE "MY_OBJECT" ( "ID" INTEGER NOT NULL, "PROPERTY_1" CHAR(30), "PROPERTY_2" CHAR(30), P...more
How do I read data from a stream as it arrives in Xerces (SAX2) using XMLReader? It does not have a setReaderFactory method.
Check out... http://xml.apache.org/xerces-j/faq-write.html#faq-11
Check out the jGuru Servlets FAQ.
Check out the jGuru Serialization FAQ.
Do SAX and DOM validating parsers take the same amount of memory while validating a document?
How can I query my xml file? For example I have this xml file: <?xml version="1.0"?> <bib> <book> <title>Harold</title> <author>Johnso...more
XML Query Language Where can I learn about the efforts to create an XML-based query language?
PCDATA is Parsed character data and CDATA is just character data. In PCDATA text, the tags inside the text will be treated as markup and entities will be expanded, where as in CDATA...more