hi
I am trying to dump the table data to an xml file and I gave xpath defination also in the xml output stage but it is throwing me an error "Derivation rule "Table_Name/Field_name" is invalid. Message = "'/' expected at "/"""
Can some body help me pls
Thanks
Write table to XML
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 46
- Joined: Wed Sep 28, 2005 9:24 am
Write table to XML
Thanks and Regards
Vin
Vin
Not really as that's not alot of information to go on.
Do you have an xsd for your target xml? Have you imported the metadata for your xml target into DataStage so that it generated the proper XPath expressions for you or did you whip them up yourself?
Doing that (letting DS generate the XPath expressions for you) will go a long way towards achieving this goal. You would then load that metadata into the XML Output stage and it would do (basically) the rest automagically.
![Confused :?](./images/smilies/icon_confused.gif)
Do you have an xsd for your target xml? Have you imported the metadata for your xml target into DataStage so that it generated the proper XPath expressions for you or did you whip them up yourself?
Doing that (letting DS generate the XPath expressions for you) will go a long way towards achieving this goal. You would then load that metadata into the XML Output stage and it would do (basically) the rest automagically.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
same problem
Hi
i have imported table defination of XML file using DS XML metadata Importer and getting this eror
" Xalan warning (publicId: , systemId: , line: 0, column: 0): An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=file1.xsd"
After importing I edited the data to remove namespace ,is that causing a problem
Thanks in Advance
i have imported table defination of XML file using DS XML metadata Importer and getting this eror
" Xalan warning (publicId: , systemId: , line: 0, column: 0): An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=file1.xsd"
After importing I edited the data to remove namespace ,is that causing a problem
Thanks in Advance
-
- Participant
- Posts: 17
- Joined: Mon Nov 28, 2005 12:44 pm
- Contact: