Vidya Ravi

Greenhorn
+ Follow
since Mar 03, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vidya Ravi

"The acceptable value is one or more occurrences of a lowercase letter followed by a uppercase letter from a to z.

1. aAbBcC
2. aaAbBccC
"

Okay....i am totally confused. 2 also meet the criteria. So isnt 2 correct?
My thoughts-

I agree with qName being the right answer since server:IP is a namespace qualified XML name

nsname is the namespace name that you use before the colon ( in this case only server)
ncname is an XML name not containing a colon and hence this is not correct

xpath and zname are not attribute value types at all

HTH,
Vidya
Marc,

The mock answer is correct and here is why -

Look at the question again - it stipulates that after root1, root2 may or may not appear and root3 must appear 0 or more times. The whole (root1,root2, root3) sequence may appear 0 or more times

Option a will qualify because root1 occurs once, and root2 occurs once

Option b will be correct because root1 has to occur, but root2 and root3 are optional and the whole sequence can appear 0 or more times

Option c is correct since the whole sequence may appear 0 or more times

Option d will NOT qualify since root2 appears after root3. Root3 can appear multiple times but should have been followed by root1 to be correct.

HTH,
Vidya
Congrats on your success. I am preparing for the exam myself and making my first pass through the Prof XML, XSLT and schemas. I have been working with XSLT and XML for the last one year but, have no practical experience with Formatting Objects & schemas. How technical do questions on these get? Also, the FAQ on thsisite does not post chapter 10 of Prof XML as required. Were there any questions on XLink and XPointers?

Thanks for your insights,
Vidya
http://www.mulberrytech.com/quickref/

This might be a good quick ref for memory jogging. It covers XSLT & XPath.

Actually I am planning to take my exam by August. So Dhiren's Questions make me think

HTH,
Vidya
Regarding Question 1 :

The answer would be "A and D". Recall that ID should be unique in an XML document and should conform to the rules of XML names. since XML naming convention mandates that starting character should be a unicode, colon or underscore, choices A and D are incorrect.
Alternative B looks tempting with the ":" but, it is valid.

Regarding Q 17:

The answer is "A and D". ID and IDREFS allow you to express both one-to-one as well as one-to-many relationships.

I need to look closely at Q29.

Please revert if you need additional clarification.

Thanks,
Vidya
[ June 16, 2004: Message edited by: Vidya Ravi ]
Parsers are essentially tools created for a specific purpose. For example, a DOM parser implements the DOM API and creates DOM in memory whereas SAX parser implements SAX API. Popular Example would be "Xerces" by Apache

Validating tools are necessary to enforce certain rules. E.g. Validating tools would check XML documents for well formedness and certain other basic criteria. These tools can also validate documents against schemas and DTDs.

Hope that helps!
Vidya
Assuming you have a DOM that has a structure like this -
<student_list>
<student> <id>1</id><name></name><major>CS</major><student>
<student> <id>1</id><name></name><major>CS</major><student>
<student> <id>2</id><name></name><major>BS</major><student>
<student> <id>3</id><name></name><major>Civil</major><student>
</student_list>
To print unique lists of students
==================================

<xsl:template match="student_list">
<student_list>
<xsl:for-each select="student">
<xsl:variable name="curr_key">
<xsl:value-of select="id"/>
</xsl:variable>
<xsl:variable name="next_key">
<xsl:value-of select="following::id"/>
</xsl:variable>
If the next_key is not equal to the curr_key, print in <TD>

Let me know if this fits your problem
Hi!
can you please post resources for 486? What is the estimated preparation time required & are there any mock exams are available.
Thanks,
Vidya
Can someone please explain why D is the right answer?
6. When you construct an XML using a DOM enabled Parser, the same parser should be used to process back the XML document when the process involves legacy applications, otherwise it is not necessary to do so. *
a) Not really
b) Yes, whenver the process is between legacy conectivity this is better.
c) You can use SAX enabled parser to fill this gap.
d) This statement is not a correct one, because DOM is constructed using IDL.

* Question 6 from DOM & SAX [Design / Implementation/ Information modeling]. Authors: Kris. VidhyaSagar and John Wetherbie
Refer this site where the writer clarifies his stand
http://lists.w3.org/Archives/Public/xsl-editors/2000OctDec/0299.html
Moral of the story : At most one fo:flow is allowed in each fo:page-sequence.
In XML Schema, new simple types can be created by deriving from built-in or derived types via the inheritance, but in a strict sense, approaches to inheritance are not applicable to XML because XML, unlike Object Orient languages, models only data and not behavior (no methods). That is say there is a difference between inheritance (i.e. of behavior) and subtyping (e.g. of interfaces): Subtyping is a relation between object interfaces, while subclassing (inheritance) is a relation between object implementation.
Please refer this site : http://www.eecs.wsu.edu/~cdyreson/teaching/advancedDatabase/011/discussions/fourreport.htm

not applicable to XML
Hi!
I am actually preparing for XML Cert and my request to the moderator would be to segregate all the posts pertaining to exam scores and general trivia / social niceties (including this one) to a different section. While I share the happiness of all those who made it through to the exam (u have inspired me), I am preparing with time as a crunch. This way when I sieve through the problems others have had and I can help and be helped faster.
Thanks,
Vidya
21 years ago
Hey,
Try this
- <xsl:if test="normalize-space(<Node Name here> ) !=''">

</xsl:if>

[Edited:]
Vidya,
Welcome to Javaranch. When posting code like this, please
disable the smiles using the toggle at the bottom of the page.
[ March 03, 2004: Message edited by: Madhav Lakkapragada ]