How do I use DTD's with XML DB ?

Assume I have an XML document containing a DOCTYPE that looks like this...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
     <key>Major Version</key><integer>1</integer>
     <key>Minor Version</key><integer>1</integer>
     <key>Application Version</key><string>6.0.5</string>
     <key>Features</key><integer>1</integer>
     <key>Music Folder</key><string>file://localhost/C:/My%20Documents/My%20Music/iTunes/iTunes%20Music/</string>
     <key>Library Persistent ID</key><string>08072423C5C39B39</string>
     <key>Tracks</key>
     <dict>
          <key>113</key>
          <dict>
               <key>Track ID</key><integer>113</integer>
               <key>Name</key><string>Speak to Me/Breathe in the Air</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Nick Mason/Richard Wright/Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>9500202</integer>
               <key>Total Time</key><integer>237479</integer>
               <key>Track Number</key><integer>1</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B48</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/01%20Speak%20to%20Me-Breathe%20in%20the%20Air.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>115</key>
          <dict>
               <key>Track ID</key><integer>115</integer>
               <key>Name</key><string>On the Run</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>8480282</integer>
               <key>Total Time</key><integer>211983</integer>
               <key>Track Number</key><integer>2</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B49</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/02%20On%20the%20Run.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>117</key>
          <dict>
               <key>Track ID</key><integer>117</integer>
               <key>Name</key><string>Time</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Nick Mason/Richard Wright/Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>17007482</integer>
               <key>Total Time</key><integer>425168</integer>
               <key>Track Number</key><integer>3</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B4A</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/03%20Time.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>119</key>
          <dict>
               <key>Track ID</key><integer>119</integer>
               <key>Name</key><string>The Great Gig in the Sky</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Richard Wright</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>11484657</integer>
               <key>Total Time</key><integer>287085</integer>
               <key>Track Number</key><integer>4</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B4B</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/04%20The%20Great%20Gig%20in%20the%20Sky.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>121</key>
          <dict>
               <key>Track ID</key><integer>121</integer>
               <key>Name</key><string>Money</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>15343842</integer>
               <key>Total Time</key><integer>383582</integer>
               <key>Track Number</key><integer>5</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B4C</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/05%20Money.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>123</key>
          <dict>
               <key>Track ID</key><integer>123</integer>
               <key>Name</key><string>Us and Them</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Richard Wright/Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>18756812</integer>
               <key>Total Time</key><integer>468897</integer>
               <key>Track Number</key><integer>6</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B4D</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/06%20Us%20and%20Them.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>125</key>
          <dict>
               <key>Track ID</key><integer>125</integer>
               <key>Name</key><string>Any Colour You Like</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Nick Mason/Richard Wright</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>8225302</integer>
               <key>Total Time</key><integer>205609</integer>
               <key>Track Number</key><integer>7</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B4E</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/07%20Any%20Colour%20You%20Like.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>127</key>
          <dict>
               <key>Track ID</key><integer>127</integer>
               <key>Name</key><string>Brain Damage</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>9219097</integer>
               <key>Total Time</key><integer>230452</integer>
               <key>Track Number</key><integer>8</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B4F</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/08%20Brain%20Damage.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>129</key>
          <dict>
               <key>Track ID</key><integer>129</integer>
               <key>Name</key><string>Eclipse</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Roger Waters</string>
               <key>Album</key><string>Dark Side of the Moon</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>5067312</integer>
               <key>Total Time</key><integer>126667</integer>
               <key>Track Number</key><integer>9</integer>
               <key>Year</key><integer>1973</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B50</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/09%20Eclipse.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>157</key>
          <dict>
               <key>Track ID</key><integer>157</integer>
               <key>Name</key><string>Shine on You Crazy Diamond, Pts. 1-5</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Richard Wright/Roger Waters</string>
               <key>Album</key><string>Wish You Were Here</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>32523642</integer>
               <key>Total Time</key><integer>813061</integer>
               <key>Track Number</key><integer>1</integer>
               <key>Year</key><integer>1975</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B51</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/01%20Shine%20on%20You%20Crazy%20Diamond,%20Pts.%201-5.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>159</key>
          <dict>
               <key>Track ID</key><integer>159</integer>
               <key>Name</key><string>Welcome to the Machine</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Roger Waters</string>
               <key>Album</key><string>Wish You Were Here</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>17855766</integer>
               <key>Total Time</key><integer>446380</integer>
               <key>Track Number</key><integer>2</integer>
               <key>Year</key><integer>1975</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B52</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/02%20Welcome%20to%20the%20Machine.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>161</key>
          <dict>
               <key>Track ID</key><integer>161</integer>
               <key>Name</key><string>Have a Cigar</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>Roger Waters</string>
               <key>Album</key><string>Wish You Were Here</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>12320401</integer>
               <key>Total Time</key><integer>307983</integer>
               <key>Track Number</key><integer>3</integer>
               <key>Year</key><integer>1975</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B53</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/03%20Have%20a%20Cigar.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>163</key>
          <dict>
               <key>Track ID</key><integer>163</integer>
               <key>Name</key><string>Wish You Were Here</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Roger Waters</string>
               <key>Album</key><string>Wish You Were Here</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>13609931</integer>
               <key>Total Time</key><integer>340218</integer>
               <key>Track Number</key><integer>4</integer>
               <key>Year</key><integer>1975</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B54</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/04%20Wish%20You%20Were%20Here.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
          <key>165</key>
          <dict>
               <key>Track ID</key><integer>165</integer>
               <key>Name</key><string>Shine on You Crazy Diamond, Pts. 6-9</string>
               <key>Artist</key><string>Pink Floyd</string>
               <key>Composer</key><string>David Gilmour/Richard Wright/Roger Waters</string>
               <key>Album</key><string>Wish You Were Here</string>
               <key>Genre</key><string>Rock</string>
               <key>Kind</key><string>MPEG audio file</string>
               <key>Size</key><integer>29708412</integer>
               <key>Total Time</key><integer>742687</integer>
               <key>Track Number</key><integer>5</integer>
               <key>Year</key><integer>1975</integer>
               <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
               <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
               <key>Bit Rate</key><integer>320</integer>
               <key>Sample Rate</key><integer>44100</integer>
               <key>Persistent ID</key><string>08072423C5C39B55</string>
               <key>Track Type</key><string>File</string>
               <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/05%20Shine%20on%20You%20Crazy%20Diamond,%20Pts.%206-9.mp3</string>
               <key>File Folder Count</key><integer>-1</integer>
               <key>Library Folder Count</key><integer>-1</integer>
          </dict>
     </dict>
     <key>Playlists</key>
     <array>
          <dict>
               <key>Name</key><string>Library</string>
               <key>Master</key><true/>
               <key>Playlist ID</key><integer>37</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B3A</string>
               <key>All Items</key><true/>
               <key>Playlist Items</key>
               <array>
                    <dict>
                         <key>Track ID</key><integer>113</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>115</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>117</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>119</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>121</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>123</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>125</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>127</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>129</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>157</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>159</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>161</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>163</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>165</integer>
                    </dict>
               </array>
          </dict>
          <dict>
               <key>Name</key><string>90’s Music</string>
               <key>Playlist ID</key><integer>40</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B3B</string>
               <key>All Items</key><true/>
               <key>Smart Info</key>
               <data>
               AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAA==
               </data>
               <key>Smart Criteria</key>
               <data>
               U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAEAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEAAAAAAAAB8YAAAAAAAAAAAAAAAAAAAAB
               AAAAAAAAB88AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
               </data>
          </dict>
          <dict>
               <key>Name</key><string>My Top Rated</string>
               <key>Playlist ID</key><integer>43</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B3C</string>
               <key>All Items</key><true/>
               <key>Smart Info</key>
               <data>
               AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAA==
               </data>
               <key>Smart Criteria</key>
               <data>
               U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAAQAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEAAAAAAAAADwAAAAAAAAAAAAAAAAAAAAB
               AAAAAAAAADwAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
               </data>
          </dict>
          <dict>
               <key>Name</key><string>Party Shuffle</string>
               <key>Playlist ID</key><integer>61</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B40</string>
               <key>Party Shuffle</key><true/>
               <key>All Items</key><true/>
               <key>Playlist Items</key>
               <array>
                    <dict>
                         <key>Track ID</key><integer>115</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>125</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>129</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>123</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>127</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>117</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>113</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>119</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>121</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>123</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>125</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>113</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>127</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>115</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>119</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>129</integer>
                    </dict>
               </array>
          </dict>
          <dict>
               <key>Name</key><string>Podcasts</string>
               <key>Playlist ID</key><integer>64</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B41</string>
               <key>Podcasts</key><true/>
               <key>All Items</key><true/>
          </dict>
          <dict>
               <key>Name</key><string>Recently Added</string>
               <key>Playlist ID</key><integer>52</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B3F</string>
               <key>All Items</key><true/>
               <key>Smart Info</key>
               <data>
               AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAA==
               </data>
               <key>Smart Criteria</key>
               <data>
               U0xzdAABAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAIAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABELa4tri2uLa7//////////gAAAAAACTqA
               La4tri2uLa4AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
               </data>
               <key>Playlist Items</key>
               <array>
                    <dict>
                         <key>Track ID</key><integer>113</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>115</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>117</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>119</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>121</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>123</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>125</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>127</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>129</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>157</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>159</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>161</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>163</integer>
                    </dict>
                    <dict>
                         <key>Track ID</key><integer>165</integer>
                    </dict>
               </array>
          </dict>
          <dict>
               <key>Name</key><string>Recently Played</string>
               <key>Playlist ID</key><integer>49</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B3E</string>
               <key>All Items</key><true/>
               <key>Smart Info</key>
               <data>
               AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAA==
               </data>
               <key>Smart Criteria</key>
               <data>
               U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcAAAIAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABELa4tri2uLa7//////////gAAAAAACTqA
               La4tri2uLa4AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
               </data>
          </dict>
          <dict>
               <key>Name</key><string>Top 25 Most Played</string>
               <key>Playlist ID</key><integer>46</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B3D</string>
               <key>All Items</key><true/>
               <key>Smart Info</key>
               <data>
               AQABAwAAABkAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAA==
               </data>
               <key>Smart Criteria</key>
               <data>
               U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQBAAACAAAAAAAAAAAAAAAAAAAAAAAA
               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
               </data>
          </dict>
          <dict>
               <key>Name</key><string>Videos</string>
               <key>Playlist ID</key><integer>67</integer>
               <key>Playlist Persistent ID</key><string>08072423C5C39B42</string>
               <key>All Items</key><true/>
               <key>Videos</key><true/>
          </dict>
     </array>
</dict>
</plist>For those who are interested it's a Libary.xml generated when you export your library from Apple's iTunes

As the example below shows, when the database attempt to parse this document in order to create an XMLType the following error is returned.
LPX-00202: could not open "http://www.apple.com/DTDs/PropertyList-1.0.dtd" (error 101)
The cause of this error is that the XML Parser detects the presence of the DOCTYPE tag in the XML document and automatically switches into validating Mode. It then attempts to access the DTD at the specified URL. In this example there is a proxy server sitting between the database the outside world, so the XML Parser is unable to access the specified URL and the LPX-00202 is thrown.
One solution to this is to configure database to use the Proxy Server. However
However in general having to access content stored outside of the database when processing XML content inside the database is not a good idea. There are 2 main reasons for this.
The first is performance, the time taken to access the external content will be much higher than the time taken to access content stored in the database.
The second is security, it is possible for the URL to be spoofed meaning that the document returned by the HTTP operation may not be the correct document.
etc going down or being spoofed..
SQL> create or replace directory XMLDIR as 'c:\xdb\faq\example4'
  2  /
Directory created.
SQL> create table LIBRARY_XML of XMLType
  2  /
Table created.
SQL> insert into LIBRARY_XML values ( xmltype(bfilename('XMLDIR','Library.public.xml'),nls_charset_id('AL332UTF8')) )
  2  /
insert into LIBRARY_XML values ( xmltype(bfilename('XMLDIR','Library.public.xml'),nls_charset_id('AL332UTF8')) )
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00202: could not open "http://www.apple.com/DTDs/PropertyList-1.0.dtd" (error 101)
Error at line 2
ORA-06512: at "SYS.XMLTYPE", line 295
ORA-06512: at line 1
SQL> declare
  2    res boolean;
  3  begin
  4    res := dbms_xdb.createResource('/public/Library.xml',xmltype(bfilename('XMLDIR','Library.public.xml'),nls_charset_id('AL32UTF8')));
  5  end;
  6  /
declare
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
Error at line 2
ORA-06512: at "SYS.XMLTYPE", line 295
ORA-06512: at line 4

Similar Messages

  • How can I use a 3rd party XML parser such as xerces with OC4J ?

    Hi all tech experts,
    I am using Oracle Application Server 10g Release 2 (10.1.2) and i have
    installed Portal and Wireless and OracleAS Infrastructure on the same
    computer.
    i tried all the solutions on this thread
    Use of Xerces Parser in out application with Oracle App Server 9.0.4
    but still fighting.
    I have also posted this query on OTN on following thread
    How can I use a 3rd party XML parser such as xerces with OC4J?
    but no reply....
    Please help me on this issue.
    Since OC4J is preconfigured to use the Oracle XML parser which is xmlparserv2.jar.
    i have read the following article which states that
    OC4J is preconfigured to use the Oracle XML parser. The Oracle XML parser is fully JAXP 1.1 compatible and will serve the needs of applications which require JAXP functionality. This approach does not require the download, installation, and configuration of additional XML parsers.
    The Oracle XML parser (xmlparserv2.jar) is configured to load as a system level library of OC4J through it's inclusion as an entry in the Class-Path entry of the oc4j.jar Manifest.mf file. This results in the Oracle XML parser being used for all common deployment and packaging situations. You are not permitted to modify the Manifest.mf file of oc4j.jar.
    It must be noted that configuring OC4J to run with any additional XML parser or JDBC library is not a supported configuration. We do know customers who have managed to successfully replace the system level XML parser and the Oracle JDBC drivers that ship with the product, but we do not support this type of configuration due to the possibility of unexpected system behavior and system errors that might occur from replacing the tested and certified libraries.
    If you absolutely must use an additional XML parser such as xerces, then you have to start OC4J such that the xerces.jar file is loaded at a level above the OC4J system classpath. This can be accomplished using the -Xbootclasspath flag of the JRE.
    i have also run the following command
    java -Xbootclasspath/a:d:\xerces\xerces.jar -jar oc4j.jar
    but no success.
    How could i utilize my jar's like xerces.jar and xalan.jar for parsing instead of OC4J in-built parser ?
    All reply will be highly appreciated.
    Thnx in advance to all.
    Neeraj Sidhaye
    try_catch_finally @ Y !

    Hi Neeraj Sidhaye,
    I am trying to deploy a sample xform application to the Oracle Application Server (10.1.3). However, I encountered the class loader issue that is similar to your stuation. I tried all the three solutions but the application is still use the Oracle xml paser class. I am wondering if you have any insight about this?
    Thanks for your help.
    Xingsheng Qian
    iPass Inc.
    Here is the error message I got.
    Message:
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
    Stack Trace:
    org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
         at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
         at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
         at org.chiba.xml.xforms.Container.initModels(Unknown Source)
         at org.chiba.xml.xforms.Container.init(Unknown Source)
         at org.chiba.xml.xforms.ChibaBean.init(Unknown Source)
         at org.chiba.adapter.servlet.ServletAdapter.init(ServletAdapter.java:153)
         at org.chiba.adapter.servlet.ChibaServlet.doGet(ChibaServlet.java:303)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
         at org.chiba.xml.xforms.Instance.iterateModelItems(Unknown Source)
         at org.chiba.xml.xforms.Bind.initializeModelItems(Unknown Source)
         at org.chiba.xml.xforms.Bind.init(Unknown Source)
         at org.chiba.xml.xforms.Initializer.initializeBindElements(Unknown Source)
         at org.chiba.xml.xforms.Model.modelConstruct(Unknown Source)
         at org.chiba.xml.xforms.Model.performDefault(Unknown Source)
         at org.chiba.xml.xforms.XFormsDocument.performDefault(Unknown Source)
         at org.chiba.xml.xforms.XFormsDocument.dispatchEvent(Unknown Source)
         at org.apache.xerces.dom.NodeImpl.dispatchEvent(Unknown Source)
         ... 18 more

  • XmlDataProvider .... is gone completely in my Xaml file. Why? How many different ways to deal with xml data source through WPF

    I followed a procedure described in a book.
    1. insert "Inventory.xml" file to a project "WpfXmlDataBinding" .
    2. add the XML data source through the data panel of "blend for 2013", named it "InventoryXmlDataStore" and store it in the current document.
    3. dragged and droppped the nodes from the Data panel onto the artboard.
    Then I checked my Xaml file against the one provided by the book
    Xaml file by the book:
    <Window.Resources>
    <!-- This part is missing in my xaml file --><XmlDataProvider x:Key="InventoryDataSource"
    Source="\Inventory.xml"
    d:IsDataSource="True"/>
    <!-- This part is missing in my xaml file -->
    <DataTemplate x:Key="ProductTemplate">
    <StackPanel>
    <TextBlock Text="{Binding XPath=@ProductID}"/>
    <TextBlock Text="{Binding XPath=Cost}"/>
    <TextBlock Text="{Binding XPath=Description}"/>
    <CheckBox IsChecked="{Binding XPath=HotItem}"/>
    <TextBlock Text="{Binding XPath=Name}"/>
    </StackPanel>
    </DataTemplate>
    </Window.Resources>
    <Grid>
    <ListBox HorizontalAlignment="Left"
    ItemTemplate="{DynamicResource ProductTemplate}"
    ItemsSource="{Binding XPath=/Inventory/Product}"
    Margin="89,65,0,77" Width="200"/>
    </Grid>
    my Xaml file:
    <Window x:Class="WpfXmlDataBinding.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="922" Width="874">
    <Window.Resources>
    <DataTemplate x:Key="ProductTemplate">
    <StackPanel>
    <TextBlock Text="{Binding XPath=@ProductID}"/>
    <TextBlock Text="{Binding XPath=Cost}"/>
    <TextBlock Text="{Binding XPath=Description}"/>
    <CheckBox IsChecked="{Binding XPath=HotItem}"/>
    <TextBlock Text="{Binding XPath=Name}"/>
    </StackPanel>
    </DataTemplate>
    </Window.Resources>
    <Grid DataContext="{Binding Source={StaticResource InventoryXmlDataStore}}">
    <ListBox HorizontalAlignment="Left" Height="370"
    ItemTemplate="{DynamicResource ProductTemplate}"
    ItemsSource="{Binding XPath=/Inventory/Product}"
    Margin="65,55,0,0" VerticalAlignment="Top" Width="270"/>     
        </Grid>
    </Window>
    All looks quite the same except the <XmlDataProvider ....> part under <Window.Resources>, which is gone completely in my Xaml file.
    1, Why?
    2, How many different ways to deal with xml data source through WPF?
    Thanks, guys.
    (ps My "WpfXmlDataBinding" runs without problem through.)

    Never do yourself down Richard.
    Leave that to other people.
    It's quite common for smart developers to think they're not as good as they are.
    I coach a fair bit and it's a surprisingly common feeling.
    And to repeat.
    Never use anything ends .. provider.  They're for trivial demo apps.  Transform xml into objects and use them.  Write it back as xml.  Preferably, use a database.
    You want to read a little mvvm theory first.
    http://en.wikipedia.org/wiki/Model_View_ViewModel
    Whatever you do, don't read Josh Smiths explanation.  I used to recommend it but it confuses the heck out newbies. Leave that until later.
    Laurent Bugnion did a great presentation at mix10.  Unfortunately that doesn't seem to be working on the MS site, but I have a copy.  Download and watch:
    http://1drv.ms/1IYxl3z
    I'm writing an article at the moment which is aimed at beginners.
    http://social.technet.microsoft.com/wiki/contents/articles/30564.wpf-uneventful-mvvm.aspx
    The sample is just a collection of techniques really.
    I have a sample which involves no real data but is intended to illustrate some aspects of how viewmodels "do stuff" and how you use datatemplates to generate UI.
    I can't remember if I recommended it previously to you:
    https://gallery.technet.microsoft.com/WPF-Dialler-simulator-d782db17
    And I have working samples which are aimed at illustrating line of business architecture.  This is an incomplete step by step series but I  think more than enough to chew on once you've done the previous stuff.
    http://social.technet.microsoft.com/wiki/contents/articles/28209.wpf-entity-framework-mvvm-walk-through-1.aspx
    The write up for step2 is work in progress.
    https://gallery.technet.microsoft.com/WPF-Entity-Framework-MVVM-78cdc204
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • How do I use my ipad with Apple TV?

    How do i use my iPad2 with Apple TV?

    If it's an ATV2 or 3, you can use AirPlay. AirPlay automatically becomes available when the two devices are on the same Wi-Fi network.
    HOWEVER! You should be aware of that AirPlay is, in some circumstances, far inferior to VGA / HDMI-cabled solutions. Please see my posts at https://discussions.apple.com/message/18697551?ac_cid=sa123456#18697551 for more info.

  • How do I use apple remote with iPhone 5 ?

    How do I use apple remote with iPhone 5 ?

    Iphones dont have ir at all which the remote use for comm
    Only option is to use a dock which have ir

  • When I try to sign in to iTunes, it tells me that my Apple ID has not yet been used with the iTunes Store. How do I use my account with the iTunes Store?

    When I try to sign in to iTunes, it tells me that my Apple ID has not yet been used with the iTunes Store. How do I use my account with the iTunes Store?

    Hello Daijalove97,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    To use your Apple ID at the iTunes Store
    Open the latest version of iTunes.
    Choose Store > Sign In from the Store menu.
    Enter your Apple ID and password, then click Sign In.
    Click Review when asked to review your information.
    Enter your billing information, a credit card will be required.
    Click Continue when you're done entering your credit card and billing information.
    Best of luck,
    Mario

  • How can I use an iPad with two itunes accounts?

    How can I use an iPad with two itunes accounts?
    Hi there
    My partner has a works iPad, which has her works Apps on (ones that are specifically made by her company and are NOT available in the App store).
    What I want to be able to do is to ALSO have my itunes account on there so that I can put all the apps I have purchased previously from my iPhone on it.
    This is so I can put on VLC player (thats already in my itunes account) so I can add videos to the iPad.
    How do I do this please?
    I tried it before by connecting it to my mac, but it wiped everything off the iPad completely and also deleted the data settings for using 3G.
    So I want to avoid this happening again the future as it had to be sent back to her head office to be sorted again.
    Any advise please?
    Thanks

    You can't. The iPad is desgined to be a 'one user' device and only really works with one apple ID at a time.
    The only way would be if she, at work and with her work apple id, downloaded your apps (repurchasing them of course).
    It's not meant to be a multiple user/multiple ID device.

  • How can i use text expander with the new Mavericks,

    how can i use text expander with the new Mavericks,

    I regret upgrading to mavericks for the same reason
    ftamez wrote:
    how can i use text expander with the new Mavericks,
    Now I have been searching - and you have to buy an app and it will cost you $34.99 (what a rip off)

  • TS1629 How do I use home sharing with direct TV / Verizon internet. I have turned on Home sharing on apple tv and in iTunes but can't see the library in apple tv. I can see the photo stream but thats it. Any Ideas????

    How do I use home sharing with direct TV / Verizon internet. I have turned on Home sharing on apple tv and in iTunes but can't see the library in apple tv. I can see the photo stream but thats it. Any Ideas????

    go to home-sharing on Apple TV and type in your info as ask.
    hope this help

  • How do I use Home Sharing with two different apple accounts?

    How do I use Home Sharing with two different apple accounts?

    Morning Saintine,
    Thanks for using Apple Support Communities.
    Home Sharing enables you to stream or transfer music, movies, TV shows, apps, and more among up to five authorized computers in your household. To do so, you will need to Turn on Home Sharing on each computer using the same Apple ID.
    Understanding Home Sharing
    http://support.apple.com/kb/HT3819
    Hope this helps,
    Mario

  • How do i use itunes server with itunes match?

    Hi all,
    I am using itunes server on my synology NAS. On my desktop i've always used itunes with match. How can I combine the two? In other words, how can i use itunes match with itunes server?
    thanx

    I don't know if you've already solved it yourself, but I had this problem too. Try signing out of iTunes Store under 'Settings', then signing back in with JUST your iTunes user name, with no '.mac' or '.me' suffix. If, for example, your usual sign-in method is '[email protected]' try using 'joebloggs'.
    Worked for me.

  • How do I use my iPad with a digital projector

    How do I use my iPad with a projector

    Have a look at this:
    http://www.epson.com/cgi-bin/Store/jsp/Landing/ProjectorApp.do

  • How do you use an iPad with Apple TV

    How do I use an iPad with Apple TV?

    Read the iPad manual:  http://support.apple.com/manuals/#ipad
    See this article: http://support.apple.com/kb/HT4437

  • How can i use "icloud backup" with ios 4.2.1?

    How can i use "icloud backup" with ios 4.2.1? I tried to update my ihpone 3G wih the newest IOs. Seems not to be possible.

    You cannot.
    It requires ios 5.
    Your iphone can only go to 4.2.1

  • How can I use the NI PXI-6508 with Lab View 7? what are the first steps to get started??How can I use the channels with lab view 7????

    I have a 8 slot PXI system with 2 NI PXI 6508 and 1 DMM 4070 in it. I want to get started with programming the digital I/O cards (6508)! How can I use this cards with LabView 7?what is the best way to get started, or where can I get examples showing how to use the several channels?
    Thanks!
    Philipp

    Philipp,
    The best way to get started is to decide if you want to use traditional NI-DAQ or NI-DAQmx. Recently we released NI-DAQ 7.1 which provides NI-DAQmx support for the PXI-6508. In my opinion, NI-DAQmx is more efficient and much easier to use.
    To get started with examples, simply launch LabVIEW and go to Help>>Find Examples. Then expand Hardware Input and Output>>DAQmx and select the appropriate digital group for your application. This should help get you started.
    Please repost if you need addition assistance. Good luck with your application!

Maybe you are looking for