Thema: Delphi XLS - XSL

Einzelnen Beitrag anzeigen

Benutzerbild von bundy
bundy

Registriert seit: 24. Mai 2003
Ort: Eisenstadt
438 Beiträge
 
Delphi 2007 Architect
 
#1

XLS - XSL

  Alt 7. Sep 2008, 09:37
Hi DP

mal ne frage, wie kann ich das Format

XML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml-stylesheet type="text/xsl" href="/layout/item-info.xsl">
<html>
<head>
<link href="favicon.ico" rel="shortcut icon">
<title>The World of Warcraft Armory</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="The World of Warcraft Armory is a vast searchable database of information for World of Warcraft - taken straight from the real servers. It is the most comprehensive and up-to-date database on the characters, arena teams, guilds, items, dungeons, raids, bosses, and faction rewards of World of Warcraft in existence." name="description">
<script src="/shared/global/third-party/detection.js" type="text/javascript"></script>
<style media="screen, projection" type="text/css">
    @import "css/master.css";
   @import "css/en_us/language.css";
</style>
<script type="text/javascript">
//
if (is_moz) {
} else if (is_ie7) {
    document.write('<link rel="stylesheet" type="text/css" media="screen, projection" href="css/ie7.css" />');
}
else if (is_ie6) {
    document.write('<link rel="stylesheet" type="text/css" media="screen, projection" href="css/ie.css" />');
in das umwandeln
XML-Code:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/layout/item-info.xsl"?><page globalSearch="1" lang="de_de" requestUrl="/item-info.xml">
  <itemInfo>
    <item icon="inv_misc_horn_01" id="21960" level="1" name="Handgefertigte Schnitzerei" quality="1" type="Festtag">
      <reagentFor>
        <spell icon="temp" id="27708" name="Schachtel voller Holzschnitzereien von Darnassus herstellen">
          <item icon="inv_crate_01" id="22291" level="1" name="Schachtel voller Holzschnitzereien" quality="1" type="Festtag"/>
          <reagent count="4" icon="inv_misc_horn_01" id="21960" name="Handgefertigte Schnitzerei"/>
        </spell>
      </reagentFor>
    </item>
  </itemInfo>
</page>
ohne die Komponenten MSXML .

lg
bundy
+++Glaube keiner Statistik, die du nicht selbst getürkthast.++++
********************
Ein anonymer Statistiker. *
********************
  Mit Zitat antworten Zitat