|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
程龙 说:
OK
程龙 说:
PLS
程龙 说:
if about Oracle Developer,Maybe I can help you .
Goodhawk xml在oracle上解析问题请求速解! 说:
我在package里头读取unix上的一个xml文件,我需要对这个文件进行解析.
Goodhawk xml在oracle上解析问题请求速解! 说:
现在我的问题是,我已经生成了dom document了,但是,我不知道怎么对这个xml的节点进行改名字.
程龙 说:
不好意思,这东西我也没做过,
Goodhawk xml在oracle上解析问题请求速解! 说:
同时,有部分的xml的节点我是不需要的,我的意思就是我的xml我进行了解析之后,我要生成另外一份这种文档.
程龙 说:
我只做过Oracle EBS的客户化开发。
程龙 说:
建议你去www.itpub.net发个帖子.
我的xml文档:
- <?xml version = '1.0' encoding = 'UTF-8'?>
- <TRANSFERTICKET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TransferTicket.xsd">
- <TRANSFER>
- <TRANSFERHEADER>
- <TRANSACTION_SOURCE_NAME>TF140500213</TRANSACTION_SOURCE_NAME>
- <TRANSACTION_DATE>9/25/2005 0:0:0</TRANSACTION_DATE>
- <SHIP_TO_ADDRESS_LINE1>D1-2, Chamunda W/H, Old Nasik Road,</SHIP_TO_ADDRESS_LINE1>
- <SHIP_TO_ADDRESS_LINE2>Near Keshali Bridge, Keshali,</SHIP_TO_ADDRESS_LINE2>
- <SHIP_TO_ADDRESS_LINE3>22222222</SHIP_TO_ADDRESS_LINE3>
- <HONE>2</PHONE>
- <SHIPPING_METHOD>COURIER</SHIPPING_METHOD>
- <XML_FILE_NAME>TF140500213</XML_FILE_NAME>
- <USER_ID>1047</USER_ID>
- <ERROR_MESSAGE>No Error</ERROR_MESSAGE>
- <DELIVERYCOMPANY>
- <CONTACT>12</CONTACT>
- </DELIVERYCOMPANY>
- </TRANSFERHEADER>
- <TRANSFERLINE>
- <TRANSACTION_SOURCE_NAME>TF140500213</TRANSACTION_SOURCE_NAME>
- <TRANSACTION_LINE_NUMBER>1</TRANSACTION_LINE_NUMBER>
- <ITEM_NUMBER>50.68504.021</ITEM_NUMBER>
- <FROM_3RDWH>1E1SC01</FROM_3RDWH>
- <TRANSACTION_QUANTITY>43</TRANSACTION_QUANTITY>
- </TRANSFERLINE>
- </TRANSFER>
- </TRANSFERTICKET>
复制代码
我期盼的xml文档:
- <?xml version="1.0" encoding="UTF-8"?>
- <TRANSFERTICKET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TransferTicket.xsd">
- <TRANSFER>
- <TRANSFERHEADER>
- <DocumentNumber>IT110500001</DocumentNumber>
- <TransactionDate>11-SEP-2005 13:42:41</TransactionDate>
- <ShipToAddressLine1>地址1·</ShipToAddressLine1>
- <ShipToAddressLine2>Ò»¶Î254Ö®3Ì–</ShipToAddressLine2>
- <ShipToAddressLine3></ShipToAddressLine3>
- <Contact>êÕÜ‚</Contact>
- <hone>0932321134</Phone>
- <ShippingMethod>COURIER</ShippingMethod>
- </TRANSFERHEADER>
- <TRANSFERLINE>
- <LineIdent>1</LineIdent>
- <StockItemCode>99.L9072.RBE</StockItemCode>
- <From3rdWH>1T1FG01</From3rdWH>
- <TransactionQuantity>10</TransactionQuantity>
- </TRANSFERLINE>
- <TRANSFERLINE>
- <LineIdent>2</LineIdent>
- <StockItemCode>99.L9072.APE</StockItemCode>
- <From3rdWH>1T1SA01</From3rdWH>
- <TransactionQuantity>5</TransactionQuantity>
- </TRANSFERLINE>
- </TRANSFER>
- </TRANSFERTICKET>
复制代码 |
|