• Post Reply Bookmark Topic Watch Topic
  • New Topic

XML Guru's - Please help!  RSS feed

 
Arul Srinivasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would greatly appreciate if someone could provide answers to the following XML related questions. Thanks in advance.
1. Can we use XLink to connect non-XML resources?
2. Which of the following is provided by
XMLSignature - Signer Authentication, Receiver
Authentication, Message Authentication,
Integrity?
3. Stylesheet A imports B,C.
Stylesheet B imports D.
Stylesheet C imports E.
If they all contain the same information,what
is the precedence order?
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Can we use XLink to connect non-XML resources?
Yes
2. Which of the following is provided by
XMLSignature - Signer Authentication, Receiver
Authentication, Message Authentication,
Integrity?
No Idea
3. Stylesheet A imports B,C.
Stylesheet B imports D.
Stylesheet C imports E.
If they all contain the same information,what
is the precedence order?
This is what i know.
If the importing stylesheet and the imported one have common templates, the base document (which imports) overrides the imported one.
So
B will override D.
C will override E
A will override B and C
Please correct me if i'm wrong
 
Arul Srinivasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Question # 3, I guess it works exactly the other way!
ex. E C D B A
 
Arul Srinivasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also for Question # 2, I vaguely remember in one of the mock tests (which one???) for a similar question the correct answer was "the Authentication of the message cannot be guranteed".
 
PC RE
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this link it has the answer for the third question.
http://www.w3.org/TR/xslt#element-import
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arul Srinivasan:
For Question # 3, I guess it works exactly the other way!
ex. E C D B A

yeah if the order of precedence is lowest first.
I gave the answer assuming order of precedence is highest first.
But the w3.org says
D, B, E, C, A.
 
Arul Srinivasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks PC RE and Karthik ! Now I got it right (after reading the W3.org recommendation).
 
ChanSan Mehbubani
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by karthik Guru:

yeah if the order of precedence is lowest first.
I gave the answer assuming order of precedence is highest first.
But the w3.org says
D, B, E, C, A.

Thanks Karthik
Tanga
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!