• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Help for ibm cert for XML

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am new to ur group i have booked for the exam this Monday
Pl can some one explain the correct answers.
Valid DTD
a) <!DOCTYPE SYSTEM SYSTEM "test.dtd">
<SYSTEM></SYSTEM>
b) <!DOCTYPE PUBLIC SYSTEM "test.dtd">
<PUBLIC></PUBLIC>
c) <!DOCTYPE PUBLIC PUBLIC "test.dtd">
<PUBLIC></PUBLIC>
d) <!DOCTYPE SYSTEM PUBLIC "test.dtd">
<PUBLIC></PUBLIC>
Ans a, b
Considering the code below, what should be placed at /// your code /// to output "My Text"?
--------XML document-----------------
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="MyTest.xsl"?>
<MyNode>
<MyText>My Text</MyText>
</MyNode>
--------XSL document-----------------
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" version="1.0">
<xsl:template match="/">
<html>
<body>
/// your code ///
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Anw <xsl:value-of select="//MyNode"
What is wrong with
<xsl:value-of select="text()"/>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!