Web Services FAQ Section Index | Page 2
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
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