我有几个XML文档,每个页面上的图像下都有不同的名称。它可以是一个名称,也可以是50.如何将其插入SQL数据库? 这是XML的一个片段,因此在图像下有一个名称,这是2,但下一个XML可能有10.名称内的信息每次都是相同的。当这些可能在任何时候或每次都不同时,我如何插入SQL? -
- 1073073r1Prepress_step_CDI-SDDC_DRed_1.len 49.9429
21.7758
2400.0
1087.549
1
1
51.1929
23.0258
1178.76
" ./ images / 7-17-14_Flat_1_FRC250Conv / 1073073r1Prepress_step_CDI-SDDC_DRed_1 __。len.gif"
- 1070635r0Prepress_step_CDI-SD_K_1.len 27.4746
6.7833
2400.0
186.369
1
1
29.6695
8.9782
266.379
" ./ images / 7-17-14_Flat_1_FRC250Conv / 1070635r0Prepress_step_CDI-SD_K_1 __。len.gif"
答案 0 :(得分:0)
-<Name>
1073073r1Prepress_step_CDI-SDDC_DRed_1.len
<Width unit="inch">49.9429</Width>
<Height unit="inch">21.7758</Height>
<Resolution unit="DPI">2400.0</Resolution>
<Area unit="sq in">1087.549</Area>
<X-Repeat>1</X-Repeat>
<Y-Repeat>1</Y-Repeat>
<Used_Width unit="inch">51.1929</Used_Width>
<Used_Height unit="inch">23.0258</Used_Height>
<TotalArea unit="sq in">1178.76</TotalArea>
<GIF-IMAGE> "./images/7-17-14_Flat_1_FRC250Conv/1073073r1Prepress_step_CDI- SDDC_DRed_1__.len.gif" </GIF-IMAGE>
</Name>
-<Name>
1070635r0Prepress_step_CDI-SD_K_1.len
<Width unit="inch">27.4746</Width>
<Height unit="inch">6.7833</Height>
<Resolution unit="DPI">2400.0</Resolution>
<Area unit="sq in">186.369</Area>
<X-Repeat>1</X-Repeat>
<Y-Repeat>1</Y-Repeat>
<Used_Width unit="inch">29.6695</Used_Width>
<Used_Height unit="inch">8.9782</Used_Height>
<TotalArea unit="sq in">266.379</TotalArea>
<GIF-IMAGE> "./images/7-17-14_Flat_1_FRC250Conv/1070635r0Prepress_step_CDI-SD_K_1__.len.gif" </GIF-IMAGE>
</Name>