XML Section Index
How to represent an element with either decimal or empty contents in schema? Can enumeration be empty too?
Q. How to represent an element with either decimal or empty contents in schema? Can enumeration be empty too?
How to enforce Elements has value by XSD definition.
How to enforce Elements has value by XSD definition
Hi,
I have a requirement that the Element <startdate> must have value.How to enforce that during XSD Design
XSDs, Attributes, and Enumeration. I've built XML schemas before, and created elements that had enumerations or attributes, but never both.
XSDs, Attributes, and Enumeration
I've built XML schemas before, and created elements that had enumerations or attributes, but never both. What I want is something like:
<state code="1234">...more
how to generate xml file with only some elements of another xml file using xsl file. I have an xml file.Now i have to write an xsl file so that,it should copy only some elements of the input xml file. please help me.this is urgent
This is a summary. It just depends how many you want to copy over.
If you only want to copy a few, then disable all default templates and only write the copy templates for those you want to copy...more
Writing a SAX parser that validates external schemas.
Writing a SAX parser that validates external schemas.
Hi. Could someone tell me how to write a SAX parser that validates an external schema?
I've previously written a parser that validates inline...more
Xpath & namespaces, How to use namespace in xpath?
Xpath & namespaces, How to use namespace in xpath?
I have a problem with the XML Xerces parser when namespaces are used.
If I have just one defined namespace in the root of the document, and I us...more
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
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
What is the difference between XML Parsing and XML Processing?
What is the difference between XML Parsing and XML Processing?
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 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
I have a set of import dependencies between XSL files and I would like to package them inside a jar file. If I refer to the main XSL through the packaging directory structure so that I can use getResourceAsStream() it fails to get the imported ones. Apparently set systemId does not work for XSL files as resources inside a Jar file. I am using XERCES/XALAN.
I have a set of import dependencies between XSL files and I would like to package them inside a jar file. If I refer to the main XSL through the packaging directory structure so that I can use get...more
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?
I want to do is start using XML, but I cannot seem to find any of the classes in my HP JDK.
I want to do is start using XML, but I cannot seem
to find any of the classes in my HP JDK.
1) To use XML, say with DOM
objects, do I have to hunt around the net for the various
Java piec...more
Are there any XML viewers written in JAVA that use CSS?
Are there any XML viewers written in JAVA that use CSS?