XML Section Index | Page 3
XML problem with '&'. I am having a problem with XML. Whenever one of my xml files had some data in it that contains an '&', for example <tag> keyboard & mouse </tag> the xgen code throws an exceptions stating that the reference cannot be found. When it hits the '&' it thinks that the value 'mouse' is a reference.
XML problem with '&'
I am having a problem with XML. Whenever one of my xml files had some data in it that contains an '&', for example <tag> keyboard & mouse </tag> the xgen code throw...more
How to dynamically generate HTML table by using XSLT?
How to dynamically generate HTML table by using XSLT?
Hi everyone.
I have this xml
<items>
<item desc="BA"/>
<item desc="BE"/>
<item desc="BI"/>
<item desc="BO"/>
<...more
This question is very similar to the one on adding existing JDOM/DOM elements to a document object. I just want to know if it is possible to combine two existing XML documents together into a new JDOM object (i.e. a new XML file).
Merging two XML documents
This question is very similar to the one on adding existing JDOM/DOM elements to a document object. I just want to know if it is possible to combine two existing XML docu...more
Having both DTD and Schema On an XML.
Having both DTD and Schema On an XML
Hi,
I'm just wondering it is logical to have both DTD and Schema for an XML?
I did that and when I parse it using Xerces, it give me a warning, saying somethi...more
i have 2 xml files .i have to write anxsl file,which should go through the first xml file and search for an element and that element should be replaced with another element which is in second xml file.
how to handle 2 xml files with one xsl file
i have 2 xml files .i have to write anxsl file,which should go through the first xml file and search for an element and that element should be replaced w...more
Can I get at the processing instruction via dom or sax.
Can I get at the processing instruction via dom or sax
I need to get the href attribute from a XML document processing instruction tag can I do this via dom/sax or should I just read in the file li...more
How to send a value from a Html form to an xslt
How to send a value from a Html form to an xslt
HI,
I have an html form with some options , an xml file that contains many records , and an xslt file. Now when the user selects an option in the ht...more
Using multiple parsers in classpath.
Using multiple parsers in classpath
Hi All
I have following parsers ( they are needed by dff applications, so cant get rid of any of them ) in my classpath.
jdom.jar:- latest version
crimson.jar...more
I'm now generating a xml in to a string from database and but for many data like 15000 data it took almost 83 minutes.
I'm now generating a xml in to a string from database and but for many data like 15000 data it took almost 83 minutes...
I'm now generating a xml in to a string from database and using XSLT gener...more
HTML Tag embedded in XML. The client I'm working with has embedded a <br> tag inside one of their elements in a document.
HTML Tag embedded in XML
The client I'm working with has embedded a <br> tag inside one of their elements in a document.
<subheadline>7:00 EST <br> Listen on frodo.com</subh...more
I wanna know how to count the number of an attribute with particular values??
XSL:Counting for an Attribute value...its URGENT!!!
here is my xml document:
<results>
<testResult>
<logs>
<log message="theLogMessage"/>
</logs>
<resul...more
I need to nest xsl:for-each elements (or do something similar) to compare values to see if the inner element should be printed or not.
nesting xsl:for-each
I need to nest xsl:for-each elements (or do something similar) to compare values to see if the inner element should be printed or not. It would look something like this:
<...more
String to XMLDocument. I have an xml document stored in a String variable. How do I take the String and parse it into an XMLDocument?
String to XMLDocument
I have an xml document stored in a String variable. How do I take the String and parse it into an XMLDocument?
How to concatenate XML files.
How to concatenate XML files
There are several XML files which have same DTD file. I need to concatenate them into 1 file. Can anyone give me a hint?
Thanks
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