Freigeben über


Beispiel 2 für <xsl:output>

In diesem Beispiel wird die Ergebnisstruktur als HTML ausgegeben.

XML-Datei (booksshort.xml)

XSLT-Datei (outputelem.xsl)

Ausgabe

Dies ist die formatierte Ausgabe:

Gambardella, MatthewXML Developer's GuideComputer44.952000-10-01An in-depth look at creating applications with XML.Ralls, KimMidnight RainFantasy5.952000-12-16A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.Corets, EvaMaeve AscendantFantasy5.952000-11-17After the collapse of a nanotechnology society in England, the young survivors lay the foundation for a new society.

Die Prozessorausgabe lautet:

<html>Gambardella, MatthewXML Developer's GuideComputer44.952000-10-01An in-depth look at creating applications with XML.Ralls, KimMidnight RainFantasy5.952000-12-16A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.Corets, EvaMaeve AscendantFantasy5.952000-11-17After the collapse of a nanotechnology society in England, the young survivors lay the foundation for a new society.</html>