Miscellaneous

  Home arrow Miscellaneous arrow Page 2 - Transforming XML with XSLT and PHP
MISCELLANEOUS

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

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

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    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

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength
    - Install Slackware on Your Old PC


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap