Miscellaneous
  Home arrow Miscellaneous arrow Page 2 - Transforming XML with XSLT and PHP
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Download TestComplete 
Forums Sitemap 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MISCELLANEOUS

Transforming XML with XSLT and PHP
By: bluephoenix
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 11
    2003-10-12

    Table of Contents:
  • Transforming XML with XSLT and PHP
  • The XML Document
  • The XSLT Template
  • Transforming the Document
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Transforming XML with XSLT and PHP - The XML Document


    (Page 2 of 5 )

    Lets begin by looking at the following XML document.

    <?XML version="1.0" ?>

    <catalog>
      <cd title="D'Amore et des Mots" artist="Sylvestre, Anne" genre="cultural">
        <track id="1">Allez-y Doux</track>
        <track id="2">Faites-moi Souffrir</track>
        <track id="3">Tango pour Luce</track>
        <track id="4">Au Bord des Larmes</track>
      </cd>
      <cd title="Romantic Sonatas and Serenades" artist="various" genre="classical">
        <track id="1">Nocturne for Strings</track>
        <track id="2">Symphonic Dance No. 2</track>
        <track id="3">Brandenburg Concerto No. 1 in F</track>
        <track id="4">Concerto for Two Trumpets</track>
        <track id="5">Piano Sonata No. 26 in E-Flat</track>
      </cd>
      <cd title="Ricky Martin" artist="Martin, Ricky" genre="cultural">
        <track id="1">Fuego Contra Fuego</track>
        <track id="2">Dime que Me Quieres</track>
        <track id="3">Vuelo</track>
        <track id="4">Comingo Nadie Puede</track>
      </cd>
      <cd title="No Pads, No Helmets" artist="Simple Plan" genre="rock">
        <track id="1">I'd Do Anything</track>
        <track id="2">The Worst Day Ever</track>
        <track id="3">I'm Just a Kid</track>
        <track id="4">Meet You There</track>
        <track id="5">One Day</track>
        <track id="6">Perfect</track>
      </cd>
    </catalog>

    More Miscellaneous Articles
    More By bluephoenix


       · Hi, under php5 I got this down to the following:<?php$xsltProc = new...
     

    MISCELLANEOUS ARTICLES

    - Using PHP to Stream MP3 Files and Prevent Il...
    - 10 Must Have Firefox Improvements
    - All About OpenOffice 3.0
    - Shell Script Writing
    - Loops in the UNIX Shell
    - The Test in the UNIX Shell
    - Data Streams and the UNIX Shell
    - Control Mechanisms of the UNIX Shell
    - Variables Within the UNIX Shell
    - The Shell and UNIX
    - In Detail: UNIX File Systems
    - Rights Management in UNIX
    - UNIX File Systems
    - The Terminal in UNIX
    - Operating Systems and UNIX





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek