Anup Batra

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

Recent posts by Anup Batra

Thanks Shashank Tanksali, JiaPei Jen, Vinayak Gajarajan and Jim.
JiaPei u will get that mock and all the other mock exams in the link shown above.
Important links --> XML Mock Exams.
Bye,
Anup Batra
Hi Rancher,
Day before yesterday I have passed XML Exam with 73%. Thanks to all of u for ur help.
I would specially like to thanks Ajit for providing a good mock on case study.
Mapraputa Is for explaining the things in simple manner.
Shashank Tanksali for his mock exam as well as his various post. I got one question from his mock (leaf node question)
Luciano for answering all my questions related with exam
Rakesh and Hari for giving a detail information about their Exam.
My exam question pattern r almost like Hari and Rakesh Exam, so I am not going to repeat it. But one thing I should tell u guys, Exam is NOT TOUGH at all. It is only confusing. Some questions r straightforward. Some has 2 or 3 right option but u have to select only one. I think I have lost points here. Some questions test u how much u can remember. Case study questions r not too tough at all. Infact I feel that IBM mock exam is tough and I was just manage to score 70% in that exam.
I have used Whizlab testing s/w it is O.k. The case studies questions r good and there explanation is also good. What I feel is that a person should make a kind of entity diagram or some sort of that, for case study questions and while writing the relationship he should write above the arrow (connecting business and client etc) the format of XML file(whether HTML or raw XML), send or received. This will help u to understand the problem and will help u to decide, when there is a requirement for DTD or Schema and when the o/p has to be send to client, whether we need XSLT or not. This helped me. May be it will help u also. Actually it will give u the clear idea in term of picture/diagram and help u to decide. As their r only two case studies which r repeated again and again, so it is better to make such kind of diagram.
Also read Ajit’s mock exam questions and their answers carefully and most important read the explanation 2-3 times. It is also very helpful.(basically tell u how to eliminate other options)
Regarding Books I have used the following: -
Professional XML (1st edition) 2nd was not available in India when I have bought that book. I don’t find any problem with 1st edition except SAX1.0 and few more outdated topics.
XSLT by Oreilly- good book must read
For Schema I have only referred notes from Roger site www.xfront.com, they r really very nice and easy to read and understand.
For topics like XML-FO, Signature and WebServices only read the theory part no need to study the detail (about syntax.)
That is it. If u needs to know more do write. I am there to help u as other ranchers do.
Here is my suggestion or u can say a request to Ajit to make another set of 6 questions on case study. It will give u a great idea about case study questions. And u will be able to score good in that area.
Cheers,
Anup Batra
Hi all!
Can any one tell me the differenec between these
� para[@type="warning"][5] selects the fifth para child of the context node that has a type attribute with value warning
� para[5][@type="warning"] selects the fifth para child of the context node if that child has a type attribute with value warning
Thanks in Advance,
Anup Batra
Congratulations!
Good Job.
Anup Batra
Embed will embed the (say gif) file in that place
<h1> My name</h1>
<img src = “aaa.jpeg/>
<h1>Anup</h1>
then with embed option the o/p will be
My name (aaa.jpeg) Anup
=� inserted at that very location
But replace will replace the entire content of the document and then show the gif file. This is what our browsers do when we click a link
Another option is New, which will open another window to shoe the aaa.jpeg file
Hope this will help u,
Anup Batra
When Processing Instructions are a part of your parsing process, DOM should be used, since SAX cannot be used to detect a Processing Instruction in a document.
a) true
b) false
Answer : a
Pls. Explain(since SAX has processing Instruction callback)
“You have to refer to this element by some attribute value. Otherwise, it will be treated equally as all other elements with the same name.”
Actually I want to ask about the uniqueness of the Attribute_Type ID here. What will be the value of att ID.
Anup Batra
Hi Dan,
First of all thanks for the reply. It looks that u r a great lover of Oreilly Books. Me too.
Now coming to question. I actually want to know the reason why parameter entities cannot be defined in external subset and then referenced in internal subset?
But if PE are defined in external subset and referenced in external then there is no error since they are defined first and then referenced. Ok
Now a similar situation with parsed entities:
External dtd
<!ENTITY sct “JAVA”>
internal dtd
<!ENTITY sct1 “&sct;”> ====� here the reference is resolved why ?
pls help with the problem
Hi all,
I have one question. When attribute_type is ID then #REQUIRED or #IMPLIED can be used as default. If suppose I have an element which appears more than once but without the ID value explicitly supplied (since IMPLIED will work here )then how could I refer to a particular element instance as there is no mean (ID value) with me to distinguish.
Can anyone explain me what XML do in this kind of situation.
Anup Batra
It is written in Prof. XML that
“ Parameter Entity substitution –within a declaration- only works within the external subset of the DTD. In the internal subset, parameter entity reference can only be made between other declarations; thus the replacement text for such an entity reference must be a complete declaration, otherwise the DTD will not be well formed.”
As per this statement
Parameter Entity should be declared in Internal subset and it should be referenced in the external subset.
Now my question is why can’t both be in internal subset? It works just fine when both are in external subset.
Can anyone pls. Explain me this.

TIA
ANUP BATRA
Can anyone tell me, Is there is any browser that can validate a XML document?
Is there is any plug-in kind of thing for IE5.5?
If yes then pls. Give the url also.
TIA,
Anup Batra
Hi Marut,
The error is because u r using decode to give two different value of different data type in a column. A column can have only one data type, and by decode u are forcing it to put number as well as varchar datatype value into one column which is not permitted.
To fix this problem u should enclose the to_number derived value into to_char function and by this u are converting the number value into character value and will work fine.
eg
ur code :=
decode(wf.bsw_bottom_flag,'PLUS',(to_number(solid)+to_number(water)),water)
convert it like
decode(wf.bsw_bottom_flag,'PLUS',To_Char(to_number(solid)+to_number(water)),water)
I hope so this will solve the problem.
One interesting problem I think I should give. I won't give hint but it is related to ur problem
table is like
NAME(varchar) Marks(number column)
-------------------- ---------------------abc 99
ede 100
ddd null
eee null
ccc 80

give the output as
NAME(varchar) Marks(number column)
---------------------------------------------
abc99
ede100
dddfailed
eeefailed
ccc80

See the changes in ddd and eee.
This will clear.
Cheers
Anup Batra
21 years ago
Hi friends,
I have a problem related with oracle 8i personal edition (available with few books). I have loaded it on win98.The problem is I am not able to connect to database as listeners are not configured so it give an Error “no listener”. Can any one pls tell me the way how to configure listeners. I have made a listener thru
Network Administration > Net8 configuration Assistant
But no success. Hope anyone will give some idea to solve the problem.
Thanks in Advance,
ANUP BATRA
21 years ago
Hi Ranchers,
I am not able to understand the difference between the Transaction isolation levels i.e the difference between Read Committed and Serializable. I have also read the documentation but the difference is not clear especially about the Serializable. Can any one pls help me in this matter.
Thanks in Advance,
Anup Batra
21 years ago