Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Risultato dell'xsl

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2003
    Messaggi
    75

    Risultato dell'xsl

    Salve a tutti, premetto che sono alle primissime armi con l'xml e l'xsl. Ho questo problema, un file finale che deve essere come quello riportato di seguito, ma non riesco a compilare l'xsl giusto .
    Ho realizzato l'xml che mi prende i dati da un db e da asp me li trasforma in xml ma il passaggio successivo cioe' proprio l'uso del xsl non mi riesce. Qualcuno sa indirizzarmi ad un sito con tutorial che facciano al mio caso oppure darmi qualche dritta?
    Grazie

    codice:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" 
    
    HREF="/xsl/newstext.xsl"?>
    
      <nitf>
        <head>
          <title>
             </title>
      
    
                          <docdata>
            
            <doc-id 
    
    id-string ="" />
            
            <date.issue norm 
    
    ="" />
            <!-- Date of release (not present in the news 
    
    format) -->
            <date.release norm ="" />
          </docdata>
       
    
     </head>
        <body>
          <body.head>
            <hedline>
              <hl1>
              
    
      
                          </hl1>
            </hedline>
            <byline>
              <!-- 
    
    Subtitle (if present) -->
                     </byline>
            <distributor>
              <org>
                <!-- 
    
    Agency -->
                        </org>
            </distributor>
            
    
    <dateline>
              <location>
                <!-- Significant location (not 
    
    present in the news format) -->
                       </location>
           
    
     </dateline>
          </body.head>
          <body.content>
            <!-- Language (not 
    
    present in the news format) -->
            <lang lang ="it" />
            <block>
          
    
        
    
    
                
                
              </p>
            </block>
          
    
    </body.content>
        </body>
      </nitf>

  2. #2
    Ma il file "newstext.xsl" esiste???

    Prova a vedere se trovi la soluzione leggendo anche questo topic!

    Ciao!
    My space! Voglio Arthur!!!
    Ho fatto strike!!!
    dotty78

    Prima di postare in “XML, XSL, Smil” dai uno sguardo ai Link utili!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.