xml parsing using c++,any one plz help me!!!

December 17, 2010 at 23:26:16
Specs: Windows XP
<?xml version="1.0" encoding="utf-8"?>
<!--Facial Features-->
<FacialFeatures>

D:\Mani\Glam\1000lookz\1000lookz\LoadedImages\bbbhPEfXx3ie\10_2010\Image\5257395934156063839.jpg</ImgURL>
</Img>
<Face>
<Position5>
<X>171</X>
<Y>91</Y>
</Position5>
<Position8>
<X>61</X>
<Y>138</Y>
</Position8>
<Position32>
<X>49</X>
<Y>257</Y>
</Position32>
<Position12>
<X>75</X>
<Y>346</Y>
</Position12>
<Position29>
<X>157</X>
<Y>401</Y>
</Position29>
<Position13>
<X>245</X>
<Y>346</Y>
</Position13>
<Position33>
<X>271</X>
<Y>257</Y>
</Position33>
<Position9>
<X>260</X>
<Y>138</Y>
</Position9>
</Face>
<Lips>
<Position48>
<X>120</X>
<Y>339</Y>
</Position48>
<Position50>
<X>153</X>
<Y>323</Y>
</Position50>
<Position51>
<X>161</X>
<Y>324</Y>
</Position51>
<Position52>
<X>171</X>
<Y>323</Y>
</Position52>
<Position54>
<X>202</X>
<Y>340</Y>
</Position54>
<Position56>
<X>177</X>
<Y>357</Y>
</Position56>
<Position57>
<X>161</X>
<Y>359</Y>
</Position57>
<Position58>
<X>145</X>
<Y>356</Y>
</Position58>
</Lips>
<Nose>
<Position37>
<X>149</X>
<Y>228</Y>
</Position37>
<Position38>
<X>145</X>
<Y>264</Y>
</Position38>
<Position39>
<X>134</X>
<Y>295</Y>
</Position39>
<Position40>
<X>142</X>
<Y>305</Y>
</Position40>
<Position41>
<X>161</X>
<Y>307</Y>
</Position41>
<Position42>
<X>181</X>
<Y>305</Y>
</Position42>
<Position43>
<X>190</X>
<Y>295</Y>
</Position43>
<Position44>
<X>180</X>
<Y>264</Y>
</Position44>
<Position45>
<X>175</X>
<Y>228</Y>
</Position45>
</Nose>
<Eye_Left>
<Position27>
<X>88</X>
<Y>226</Y>
</Position27>
<Position28>
<X>111</X>
<Y>216</Y>
</Position28>
<Position29>
<X>133</X>
<Y>229</Y>
</Position29>
<Position30>
<X>110</X>
<Y>236</Y>
</Position30>
</Eye_Left>
<Eye_Right>
<Position32>
<X>237</X>
<Y>227</Y>
</Position32>
<Position33>
<X>214</X>
<Y>216</Y>
</Position33>
<Position34>
<X>192</X>
<Y>229</Y>
</Position34>
<Position35>
<X>215</X>
<Y>237</Y>
</Position35>
</Eye_Right>
<EyeBrow_Left>
<Position21>
<X>72</X>
<Y>193</Y>
</Position21>
<Position22>
<X>95</X>
<Y>183</Y>
</Position22>
<Position23>
<X>125</X>
<Y>190</Y>
</Position23>
<Position24>
<X>144</X>
<Y>206</Y>
</Position24>
<Position25>
<X>120</X>
<Y>202</Y>
</Position25>
<Position26>
<X>96</X>
<Y>194</Y>
</Position26>
</EyeBrow_Left>
<EyeBrow_Right>
<Position15>
<X>254</X>
<Y>195</Y>
</Position15>
<Position16>
<X>232</X>
<Y>184</Y>
</Position16>
<Position17>
<X>201</X>
<Y>190</Y>
</Position17>
<Position18>
<X>182</X>
<Y>206</Y>
</Position18>
<Position19>
<X>206</X>
<Y>203</Y>
</Position19>
<Position20>
<X>230</X>
<Y>195</Y>
</Position20>
</EyeBrow_Right>
<EyeShadow_Left>
<Position27>
<X>88</X>
<Y>226</Y>
</Position27>
<Position28>
<X>111</X>
<Y>216</Y>
</Position28>
<Position29>
<X>133</X>
<Y>229</Y>
</Position29>
<Position24>
<X>137</X>
<Y>220</Y>
</Position24>
<Position25>
<X>113</X>
<Y>203</Y>
</Position25>
<Position26>
<X>88</X>
<Y>204</Y>
</Position26>
<Position21>
<X>73</X>
<Y>217</Y>
</Position21>
</EyeShadow_Left>
<EyeShadow_Right>
<Position32>
<X>237</X>
<Y>227</Y>
</Position32>
<Position33>
<X>214</X>
<Y>216</Y>
</Position33>
<Position34>
<X>192</X>
<Y>229</Y>
</Position34>
<Position18>
<X>188</X>
<Y>220</Y>
</Position18>
<Position19>
<X>217</X>
<Y>204</Y>
</Position19>
<Position20>
<X>235</X>
<Y>204</Y>
</Position20>
<Position15>
<X>250</X>
<Y>217</Y>
</Position15>
</EyeShadow_Right>
<Cheek_Left>
<Position1>
<X>71</X>
<Y>264</Y>
</Position1>
<Position2>
<X>78</X>
<Y>301</Y>
</Position2>
<Position39>
<X>110</X>
<Y>313</Y>
</Position39>
<Position38>
<X>112</X>
<Y>275</Y>
</Position38>
<Position27>
<X>88</X>
<Y>259</Y>
</Position27>
</Cheek_Left>
<Cheek_Right>
<Position13>
<X>248</X>
<Y>266</Y>
</Position13>
<Position12>
<X>241</X>
<Y>302</Y>
</Position12>
<Position43>
<X>211</X>
<Y>312</Y>
</Position43>
<Position44>
<X>209</X>
<Y>268</Y>
</Position44>
<Position32>
<X>237</X>
<Y>258</Y>
</Position32>
</Cheek_Right>
<Lips_Inner>
<Position60>
<X>143</X>
<Y>340</Y>
</Position60>
<Position61>
<X>161</X>
<Y>342</Y>
</Position61>
<Position62>
<X>179</X>
<Y>341</Y>
</Position62>
<Position63>
<X>179</X>
<Y>338</Y>
</Position63>
<Position64>
<X>161</X>
<Y>338</Y>
</Position64>
<Position65>
<X>143</X>
<Y>338</Y>
</Position65>
</Lips_Inner>
<Lips_Upper>
<Position48>
<X>120</X>
<Y>339</Y>
</Position48>
<Position49>
<X>136</X>
<Y>331</Y>
</Position49>
<Position50>
<X>152</X>
<Y>327</Y>
</Position50>
<Position51>
<X>161</X>
<Y>330</Y>
</Position51>
<Position52>
<X>171</X>
<Y>327</Y>
</Position52>
<Position53>
<X>187</X>
<Y>331</Y>
</Position53>
<Position54>
<X>202</X>
<Y>340</Y>
</Position54>
<Position63>
<X>179</X>
<Y>338</Y>
</Position63>
<Position64>
<X>161</X>
<Y>338</Y>
</Position64>
<Position65>
<X>143</X>
<Y>338</Y>
</Position65>
</Lips_Upper>
<Lips_Lower>
<Position48>
<X>120</X>
<Y>339</Y>
</Position48>
<Position59>
<X>133</X>
<Y>349</Y>
</Position59>
<Position58>
<X>145</X>
<Y>356</Y>
</Position58>
<Position57>
<X>161</X>
<Y>359</Y>
</Position57>
<Position56>
<X>177</X>
<Y>357</Y>
</Position56>
<Position55>
<X>190</X>
<Y>350</Y>
</Position55>
<Position54>
<X>202</X>
<Y>340</Y>
</Position54>
<Position62>
<X>179</X>
<Y>341</Y>
</Position62>
<Position61>
<X>161</X>
<Y>342</Y>
</Position61>
<Position60>
<X>143</X>
<Y>340</Y>
</Position60>
</Lips_Lower>
</FacialFeatures>

am a fresher.i need to read the (x,y) positions in XML ,to an array using c++


See More: xml parsing using c++,any one plz help me!!!

Report •


#1
December 18, 2010 at 05:41:01
There are C++ XML parsers out there. TinyXML is the popular choice.

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question