看板 java 關於我們 聯絡資訊
最近在嘗試使用JAXP做解析器, 一般使用的API都只能取得標籤內各項的值, 想請問在解析xml檔案的過程中是有能有方法來得知每個tag的先後順序, 如下XML code為例, tag的先後順序為application->activity->intent-filter->action。 煩請各位版上高手能不吝指教,謝謝。 Sample code: <application android:label="@48912348" android:icon="@8/5524477" > <activity android:label="@72587412" android:name=".Main" > <intent-filter > <action android:name="android.intent.action.MAIN" > </action> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.125.12.224