AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

XSL Problem

Ein Thema von Mussi0 · begonnen am 27. Aug 2007 · letzter Beitrag vom 30. Aug 2007
 
Mussi0

Registriert seit: 8. Jun 2006
55 Beiträge
 
#11

Re: XSL Problem

  Alt 28. Aug 2007, 13:48
Also die Staffel sagt sozusagen die Stück Anzahl aus!

z.B. bezahlst du für Bob Dylan 10€ kaufst du aber 2 Lieder von dem bezahlst du nur 8€!!
Nun kann man je nach Produkt natürlich entsprechend auch viel Staffeln siehe Bleistifte,
ein Unternehmen könnte ja z.B. 200 Bleistifte kaufen die dann nur 20 € kosten statt 10 für 1,50€!!

XML-Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<catalog>
  <cd num="0">
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
   <preise>
        <preis staffel="1">10</preis>
        <preis staffel="2">8</preis>
        <preis staffel="4">7.50</preis>
   </preise>
    <year>1985</year>
  </cd>
  <cd num="1">
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
   <preise>
        <preis staffel="1">20</preis>
        <preis staffel="2">16</preis>
        <preis staffel="5">12</preis>
        <preis staffel="10">8</preis>
   </preise>
    <year>1985</year>
  </cd>
  <cd num="2">
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
   <preise>
        <preis staffel="1">30</preis>
        <preis staffel="2">24</preis>
   </preise>
    <year>1985</year>
  </cd>
</catalog>
Jetzt will ich natürlich trotzdem alle Preise zu alle Artists haben!

Und mit der von dir vorgeschlagenen Lösung geht das nur wenn ich die XSL verändere!

Geht das mit XSL??

Gruß

muss!0
Wer die anderen neben sich klein macht ist nie groß.
von Johann Gottfried Seume

Website: http://mussio.funpic.de
  Mit Zitat antworten Zitat
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:13 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz