Web Services FAQ Section Index | Page 5
Create multiple HTML files using one source XML and XSLT I would like to generate different HTML files for 'pages' that are described in a single XML source. Is there any way to create a new resul...more
How to add existing JDOM/DOM elements to a document object? See original question here.
Defining SQL statements in the DTD How do I delcare my XML embeded SQL statements in my DTD? See original question here
The answer is NO unless it is an extreme trivial case. See the really trivial DTD bellow. We already have 4 possible "templates". Here we assume templates is the right word here. I use one line f...more
Performing conditional checks when doing XSLT. Q. How to add element hasTagA to the result XML at the condition one or more tagA present in the source XML?
In XSLT, we has xsl:if xsl:choose xsl:when xsl:otherwise to perform conditional check. However, we can also use template with match attribute to perform conditional check. With the help of xpath p...more
Populating documents with xml. I want convert on a group of legal documents (plain text) into xml documents that can be populated with with user information (names, addresses, etc.). From what i have read, XML Schema is the way to go. any suggestions?
Populating documents with xml I want convert on a group of legal documents (plain text) into xml documents that can be populated with with user information (names, addresses, etc.). From what i ha...more
How do I produce documents with HTML embedded in XML I have XML elements that have HTML tags embedded inside. I need to produce documents that carry those tags from the XML to the output document....more
JAXB, should one start using the API in a live project considering the fact that it is still in its beta?
JAXB, should one start using the API in a live project considering the fact that it is still in its beta? JAXB, should one start using the API in a live project considering the fact that it is stil...more
What is the best way to generate a universally unique object ID? Do I need to use an external resource like a file or database, or can I do it all in memory?
[I need to generate unique id's that will be used for node 'ID' attribute values within XML documents. This id must be unique system-wide. The generator must be available to a number of servlets t...more
I want to generate an XML using JAXP parsers and i want to include a DOCTYPE tag that references a dtd. how can i do that? can anyone please help me out?
Dynamic DOCTYPE generation I want to generate an XML using JAXP parsers and i want to include a DOCTYPE tag that references a dtd. how can i do that? can anyone please help me out?
Are there any web sites that will validate the well-formedness of an XML document?
ebXML is a modular suite of specifications that enables enterprises of any size and in any geographical location to conduct business over the Internet. Using ebXML, companies now have a standard m...more
Exception handling in Apache-SOAP - Is there a way of catching server exceptions in the client side?
If you go to the site http://www.onjava.com/pub/a/onjava/excerpt/java_xml_2_ch2/index.html, you can find examples on how to catch server exceptions. Here's an example: response = call.invoke(url,...more
I want to run a query against a UDDI Registry...Should i use Apache SOAP or Apache Axis to create a SOAP Message myself and run it against the Registry? Is there a better way since i don't want to know the guts of UDDI messages?
If you are just interested in accessing a UDDI Registry and don't want to know the innards of UDDI, you should consider using a client API like the one from http://www.uddi4j.org.more
Here's a sample JAXM Client that connects to "Delayed Stock Quote" Service from http://www.xmethods.net/. JAXM is part of the Winter JAX Pack that can be downloaded from http://java.sun.com/xml/do...more