clyde mel

+ Follow
since Mar 05, 2002
Merit badge: grant badges
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by clyde mel

r the above topics part of the exam.if yes,then kindly give me links to some tutorials on these stuff.
r the above topics part of the exam.if yes,then kindly give me links to some tutorilas on these stuff.
The xml file is given below.How do I retrieve the name value(unique).
so the output should be
Donald duck

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="mock2test.xsl"?>
<Employee department="Personal">
<Employee department="Finance">
<Name>Donald Duck</Name>
<Employee department="IT">
<Employee department="IT">
<Name>Donald Duck</Name>
anyone from mumbai.will be giving the exam this week.just wanted to meet and discuss some stuff
on XML which i am weak on.
i will be taking my certification next week.i still think that i need to on xml architecture along with xslt,xpath and dom.I think these r the areas where i need to put more effort.I just wanted to get help as how should i go about with these topics.i have done all the mock exams and available stuff on xml,still the confidence in the above topics is on a average which i need to sort out.I will really be thankful for all your suggestions and inputs coz i need to clear this exam in my very first attempt.Just that i want to be confident and optimistic form my side.
Can anyone just explain the main difference between the embed and replace used in xlinks.Just a bit confused regarding these terms.
Can anyone provide links to xml signature and encryption.
i am new to ejb stuff use on weblogic5.1.can anyone help me out with how do i go about writing simple beans and then deploying them on the server.If its a step by step process it would really be gr8.Plz help
20 years ago
I know that the code super.add() is one of the options.But without doing any modification in the code is it possible to print hello thru the object of subclass.State reasons.Thanx
How do I access the superclass method using the object of a subclass.
class a
public void add()
class b extends a
public void add()
public static void main(String arg[])
a a1=new a();
b b1=new b();
thru b1 i want to print hello.coz when i call b1.add(),method overriding will take place.Plz help.
Can anyone please guide me thru training centres in mumbai for XML certification.i have done the stuff till XSL,but still don't have the confidence coz the certification seems to be tough.I know tutorials,links etc r helpful,but I don't want to take any chances.Want to be pretty sure with clearing this exam in my first attemp.Will really appreciate of any help from all of u.
Which is the book other than professional xml 2'nd edition that covers most of the syllabus for the certification?Also I needed to start working with saxon and xml4j.How do i start of with.Any tips with types of examples that may be of any help.
How do I use the IBM's XML4J for testing the files below.I also have the jaxp and the jdk 1.3 version.

xml file : (saxxml.xml file)
<?xml version="1.0"?>
<player> ������
��<name>Sanjay</name> ������
��<form>Batsman</form> �������
� <NrOfMatches>1</NrOfMatches> �
�<player> ��������
<name>Kapil</name> �����
�<form>Bowler</form> ����
�<NrOfMatches>3</NrOfMatches> �
<player> �������
�<name>Purvesh</name> ��������
<form>All rounder</form> ������
�<NrOfMatches>2</NrOfMatches> ��
�</player> �
<player> �������
�<name>Pradeep</name> �������
�<form>All rounder</form> ���
�<NrOfMatches>1</NrOfMatches> ���

.java file
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.Attributes;
public class Processor extends DefaultHandler {
��private PrintWriter fout; ��
�public Processor() throws IOException ��
��{ ��������
fout = new PrintWriter(new FileWriter("HTMLOutput.htm"));
��} ���
�public void startDocument() ����
{ �����
���fout.println("<HTML>"); ���fout.println("<HEAD><TITLE>SAX example</TITLE></HEAD>"); ���fout.println("<BODY>"); ���
} ���
�public void endDocument()
����{ �������
�fout.println("</BODY></HTML>"); ����
����fout.close(); ����
} ����
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) ���
�{ ����
����if (localName.equals("players")) ������������fout.println("<TABLE BORDER = '1' CELLPADDING = '5'>"); ��������else if (localName.equals("player")) ��������������{ ������������������fout.println("<TR>"); ������������
��} �������������
�else ���������
�����{ ����������������
��fout.println("<TD>"); ������������
��} ���
�} ���
�public void endElement(String namespaceURI, String localName, String qName) ���
�{ �������
�if (localName.equals("players")) ���������fout.println("</TABLE>");
��������else if (localName.equals("player")) �������������
���{ �������������������
�fout.println("</TR>"); �����������
�����} ����������������
else �������������
���{ ����������
����������fout.println("</TD>"); ������������
����} ��
�} ��
��public void characters (char ch[], int start, int length)
����{ �������
�for (int i = start; i < start+length; i++) ������������fout.println(ch[i]); ��

Conversion .java file :
import org.xml.sax.Parser;
import org.xml.sax.DocumentHandler;
import org.xml.sax.helpers.ParserFactory;
public class convert
���static final String parserClass = "";
����// using IBM’s XML parser ���
�static final String xmlfile = "saxxml.xml";
��public static void main (String args[]) throws Exception �
�� { ����
���Parser parser; ���
���DocumentHandler handler; ���
���parser = ParserFactory.makeParser(parserClass); ���handler = new Processor(); ���parser.setDocumentHandler(handler); ���parser.parse(xmlfile); ��
�� }
Why is the output not getting displayed.The output should be Joe Smith.
Can anyone please explain the template match in details.I am using ie6 as the testing browser.I also have jaxp and IBM'S XML4J.How do i use
to test these xsl stylesheets.
xml file :
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="testxsl.xsl"?>
xsl file :
<?xml version='1.0' encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="">
<xsl:template match="employee">
<xsl:value-of select="."/>
<xsl:template match="surname">
<xsl:value-of select="."/>