Web Services FAQ Section Index | Page 3
How do I display today's date in my XSL document.
How do I display today's date in my XSL document
Hi
Please can you help me, provide me with little example
how to display today's date in my XSL document.
I am creating on line letter using XSL an...more
How to pass output from JDOM to the next transformation etc. without writing to a file? How to get output in JDOMStrem?
There is no such thing called JDOMStream. However, JDOM just uses all existing Java IO classes as output tools, and extreamely flexible.
Take a look at the class org.jdom.output.XMLOutputter. It i...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
How to write xslt extended method? Can you give an example?
How to write xslt extended method? Can you give an example? The following of my code does not work.
java code:
import javax.xml.parsers.*;
import javax.xml.transform.dom.DOMSource;
import javax.xm...more
I have a Servlet and a Servlet Filter that is supposed to apply an xsl to it. The transformation appears to work, I get back a transformed document, but it appears (in IE) as if IE thinks its an HTML document. Viewing source, and saving as an HTML file will display correctly. How can I correctly set the Content Type of the response?
I have a Servlet and a Servlet Filter that is supposed to apply an xsl to it. The transformation appears to work, I get back a transformed document, but it appears (in IE) as if IE thinks its an HT...more
How to reorder xml elements in the invalid XML according to the definition of DTD?
How to reorder xml elements in the invalid XML according to the definition of DTD?
I have some xml documents where elements appear in different order than specified by dtd/schema, thus are not vali...more
Differences in XML files(Urgent) If i have two xml files with the same dtd do i have any mechanism to compare those two files and to know the changes like whether any tag is deleted or updated or newly added.
Differences in XML files(Urgent)
If i have two xml files with the same dtd
do i have any mechanism to compare those two files
and to know the changes like whether any tag is
deleted or updated or ...more
We are moving from JDK 1.2 to JDK 1.3. The XML parser are also upgraded from Xerces to JAXP. Our application code uses XML extensively and uses inhouse XMLParcers.
Xerces to JAXP migration
We are moving from JDK 1.2 to JDK 1.3. The XML parser are also upgraded from Xerces to JAXP. Our application code uses XML extensively and uses inhouse XMLParcers.
I was ...more
How do I use XLST to parse through a delimited string value?
How do I use XLST to parse through a delimited string value?
How do I transform the following?
lt;root>
<a>aaa|bbb|ccc|vvv|abc|</a>
</root>
I want this result
<root>
...more
I want to create an XML file from a comma delimited text file. I have a .txt file which contains some atomic values separated by commas. From this .txt file I want to create an XML file of those values. How do I do this ? Can I get the code also ?
I want to create an XML file from a comma delimited text file
I have a .txt file which contains some atomic values separated by commas. From this .txt file I want to create an XML file of those val...more
I would like to know how is it possible to point to a local copy of the resource for the DTD, instead of the remote one at java.sun.com ?
DOCTYPE and "public identifier" URI
I develop a web application and in the web.xml file
I must indicate a DTD.
For the moment I have the following declaration:
<!DOCTYPE web-app PUBLIC "-//Sun ...more
How to pass value to XSLT stylesheet during run time?
How to pass value to XSLT stylesheet during run time?
I have declared xsl:varaible in one place,after that i want to assin a value accoriding to some codtion,but i don't know how to assing value t...more
Namespaces, SOAP and XSLT
Namespaces, SOAP and XSLT
I am performing XSLT to a SOAP message and the output is another SOAP meage, slightly different in content. I'll include here the relevant parts concerning my question. In...more
Keyword xsl:script may not be used in namespace. Hey, Im not an expert in XSLT but hope that somebody may have come accross this issue before.
Keyword xsl:script may not be used in namespace
Hey, Im not an expert in XSLT but hope that somebody may have come accross this issue before. I try to use this utility file which contains the follo...more
Create multiple HTML files using one source XML and XSLT.
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