View Single Post
  #1 (permalink)  
Old April 6th, 2008, 12:33 PM
UdoS UdoS is offline
Registered User
 
Join Date: Apr 2008
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 12: XML Multilingual content

Hi,

I was reading chapter 12 on working with XML and was wondering how to access multilingual XML content.

Let's say there is this XML data:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<languages>
  <language xml:lang="en">
    <title>English Title</title>
  </language>
  <language xml:lang="it">
    <title>Italian Title</title>
  </language>
  <language xml:lang="de">
    <title>German Title</title>
  </language>
</languages>
How would you access the different data?

Thanks,

Udo