-1
我有一個模式的xml文件,我想將此xml文件轉換爲另一個xml文件不同的命名約定(元素標記名稱將在新的XML文件進行更改)XMl:我有一個模式的xml文件,我想將此xml文件轉換爲另一個具有不同命名約定的xml文件
爲前:xml文件我已經是以下類型
'<Parent>
<Child Name = "C1" attribute1 = "true">
<Sibbling Name ="one" />
<Sibbling Name ="two" />
</Child>
</Parent>'
現在這個我想換到一個差異命名大會, <CustomXMLFile> <InnerElement Name = "C1" > <CustomAttribute Name= "attribute1" value = "true"> </InnerElement> </CustomXMLFile>
//家長應儘可能CustomXMLFile在新文件 //兒童應儘可能InnerElement在新文件 // ATTRIBUTE1應配置爲內部節點
那麼你想要做什麼?你有什麼問題? – vinothkr 2010-11-15 10:13:19
我看不到你的問題。但這聽起來像是XSLT的工作。 – stefanw 2010-11-15 10:14:26
你可能想看看XSLT。 – 2010-11-15 10:15:52