XML Section Index | Page 5
I am trying to run this XALAN sample and I have a JSP page whicn performs transformations, I am getting this exception "javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParserNamespace " Does anybody know why??
I am trying to run this XALAN sample and I have a JSP page whicn performs transformations, I am getting this exception
"javax.xml.transform.TransformerConfigurationException: Namespace not s...more
Is it possible to use XSLT to remove elements with duplicate values from an XML file?
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
How to make Tomcat use the Xerces XML parser instead of the Sun JAXP XML parser?
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.
What is VoiceXML? How does it relate to J2ME?
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
By using XSLT transformation technique how do I map an XML file to another XML file?
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 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
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
How can I pass XML generated by JSP to Cocoon for further processing?
[
I am using tomcat 3.2.1 and cocoon 1.8.2. and I am using JSP's for dynamic generation of XML. How can i give this XML output to cocoon to apply XSLT (based on the requested client) and to give t...more
Using a SAX parser, is there a way to include a local DTD file when parsing an XML message that doesn't contain a DOCTYPE tag?
Hi,
There is a way to achieve that.
Check the org.xml.sax.EntityResolver interface:
If a SAX application needs to implement customized handling for external entities, it must implement this inter...more
What is the difference between XML Parsing and XML Processing?
What is the difference between XML Parsing and XML Processing?
Is there a way to influence indentation when transforming a DOM to an output stream using the JAXP Transform API?
Is there a way to influence indentation when trans...
Is there a way to influence indentation when transforming a DOM to an output stream using the JAXP Transform API?
What exactly are OASIS and ebXML? And if they are alternatives which one should be followed?
ebXML(Electronic Business XML) is replacement for the EDI and used for the secure exchange of buiness data. As it is an XML based so it now slowly and steadiliy becoming an de facto for the indust...more