Тест по XSLT : Вопрос 1 : 20

Выберите два правильных варианта для XPath-выражения (1), приводящих к ожидаемой трансформации XML-документа в HTML-документ:

[XML Document]
<?xml version="1.0" encoding="UTF-8"?>
<Snack>
  <Yesterday>
    <Fruit>Banana</Fruit>
  </Yesterday>
  <Today>
    <Fruit>Watermelon</Fruit>
  </Today>
  <Tomorrow>
    <Fruit>Melon</Fruit>
  </Tomorrow>
</Snack>

[XSL Stylesheet]
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:template match="/">
    <html>
      <body>
        <h1>Snack</h1>
        <xsl:apply-templates select="Snack/Tomorrow"/>
      </body>
    </html>
  </xsl:template>
  <xsl:template match="Tomorrow">
      Snack will be<xsl:value-of select="[1]" /><br/>
  </xsl:template>
</xsl:stylesheet>

[HTML Document]
<html>
  <body>
    <h1>Snack</h1>
    Snack will be Melon<br>
  </body>
</html>
1 балл


© Copyright © 2017 - 2019 Все права защищены. Бесплатное онлайн образование.
  • https://disdik.munabarat.go.id/nusantara/slot/
  • https://dispendik.sidoarjokab.go.id/nuansa/gacor/
  • https://dkpd.grobogan.go.id/jakarta/gacor/
  • https://sbobet88.blog.unsia.ac.id
  • https://pafinusantara.blog.unsia.ac.id/bet88
  • https://idn-poker.blog.unsia.ac.id
  • https://slot777-gacor.blog.unsia.ac.id
  • https://agen-188bet.blog.unsia.ac.id
  • https://situs-slot.blog.unsia.ac.id
  • https://bet88-slot.blog.unsia.ac.id
  • https://2021.kinerja.ekon.go.id/up/slot777
  • https://2021.kinerja.ekon.go.id/halal/bet88
  • https://program-gacor.blog.unsia.ac.id
  • surapati.ac.id
  • untagsby.ac.id
  • kingandiboston.com
  • janeashton.com
  • redbrickcafechester.com
  • villanosdeljazz.com
  • slot