MySQL Forums
Forum List  »  Connector/Python

retriving values from database
Posted by: M K
Date: February 25, 2008 11:14PM

Hi all,

My database is like

proj_id proj_name proj_path

1234 abc /TEST
3456 pqr /TEST
5678 data.txt /TEST/abc
4321 sol.ppt /TEST/pqr

now my xml file is

<importProject>
- <project>
<name>TEST</name>
<description />
<projectPath>/TEST</projectPath>
</project>
</importProject> //in the same way abc,pqr needs to be created


<importStaticFile name="">
- <staticFile vcmLogicalpath="/TestDCTM/abc" vcmName="data.txt">
<deploymentType>CMSNative</deploymentType>
<modCount>1</modCount>
<placementPath>/TestDCTM/abc</placementPath>
</staticFile>
<contentsentry contentsEntry="data.txt" />
</importStaticFile>
Here 1st for import project I need to take value from proj_path and then from proj_name
Also how would i know that proj_name now contains content for static file
Can anyone tell this how this can be done?

Options: ReplyQuote


Subject
Written By
Posted
retriving values from database
M K
February 25, 2008 11:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.