Click here to Skip to main content
15,890,690 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Show XML as excel sheet Pin
Wilbur J. Pereira13-Feb-05 8:21
Wilbur J. Pereira13-Feb-05 8:21 
GeneralProblem while Working with XmlValidatingReader!!!!! Pin
abcxyz8211-Feb-05 5:00
abcxyz8211-Feb-05 5:00 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen12-Feb-05 2:24
Phil Hobgen12-Feb-05 2:24 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
abcxyz8214-Feb-05 4:17
abcxyz8214-Feb-05 4:17 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen14-Feb-05 23:06
Phil Hobgen14-Feb-05 23:06 
Generalproblems with IXMLDOMDocumentPtr ->loadXML Pin
mc.george11-Feb-05 2:26
mc.george11-Feb-05 2:26 
GeneralRe: problems with IXMLDOMDocumentPtr ->loadXML Pin
Wilbur J. Pereira13-Feb-05 8:07
Wilbur J. Pereira13-Feb-05 8:07 
Generalmaking the XML files more unique Pin
equit11-Feb-05 0:36
equit11-Feb-05 0:36 
Ive got an rather big problem...
While customers are editing there profiles there XML-files containing the mutations created.
(see code below)


///
/// Creates XML doc and sends it to remote system
///

/// <param name="objMelding" />
private void CreateAndSendXml(Werknemer objWerknemer)
{
const string tableName = "Werknemer";
string xmlFilePath;
string xmlpath;


//try
//{
System.Xml.XmlDocument doc = objWerknemer.CreateXml();

xmlpath = ConfigurationSettings.AppSettings["mailDir"];
if (File.Exists(xmlpath+"busy.txt"))
xmlpath=xmlpath + "ifbusy\\";

xmlFilePath = xmlpath + tableName +
DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() +
DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() +
DateTime.Now.Minute.ToString() + DateTime.Now.Millisecond.ToString()+".xml";

//Delete xml file if it already exists
if ( File.Exists(xmlFilePath) )
File.Delete(xmlFilePath);
doc.Save(xmlFilePath);
//}
/*catch (Exception e)
{
Log.WriteEntry(new System.Exception("Fout bij schrijven XML\r\n"+e.Message));
throw new System.Exception("Kan XML bestand om wijzigingen te verzenden niet aanmaken, probeer later nog eens te verzenden");
}
*/


}

My problem is that WHEN there more than one customer editing at the EXACT same time one of the doubles are being deleted.
(see code below)

//Delete xml file if it already exists
if ( File.Exists(xmlFilePath) )
File.Delete(xmlFilePath);
doc.Save(xmlFilePath);
//}
/*catch (Exception e)

I want to make this XML-files more unique by adding an sessionid or userid to creationdate (see code below)

xmlFilePath = xmlpath + tableName +
DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() +
DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() +
DateTime.Now.Minute.ToString() + DateTime.Now.Millisecond.ToString()+".xml";

It is here in this piece of code above i want to make an adjustment to set the SessionID or UserID to the String.
I just cant find the proper code to do this can someone help me????
The only thing i want is to prevent the XML-Files from beeing deleted!
You can mail me for an answer aswell by mailing: ferry@verzuimdata.nl
THANK YOU VERY MUCH

http://www.verzuimdata.nl
GeneralRe: making the XML files more unique Pin
Wilbur J. Pereira13-Feb-05 8:01
Wilbur J. Pereira13-Feb-05 8:01 
Generalmsxml error in creating xml Pin
cj_rahul10-Feb-05 22:20
cj_rahul10-Feb-05 22:20 
GeneralRe: msxml error in creating xml Pin
Wilbur J. Pereira13-Feb-05 7:54
Wilbur J. Pereira13-Feb-05 7:54 
GeneralCustom UsernameTokenManager Problem Pin
Gizz10-Feb-05 5:03
Gizz10-Feb-05 5:03 
GeneralRe: Custom UsernameTokenManager Problem Pin
doogie10-Feb-05 6:32
doogie10-Feb-05 6:32 
GeneralRe: Custom UsernameTokenManager Problem Pin
Gizz24-Feb-05 2:56
Gizz24-Feb-05 2:56 
GeneralProblem in inserting tabindex for column Header in data grid Pin
Member 17164038-Feb-05 3:20
Member 17164038-Feb-05 3:20 
GeneralXML/XSL Books Pin
Brendan Vogt6-Feb-05 22:55
Brendan Vogt6-Feb-05 22:55 
GeneralRe: XML/XSL Books Pin
Phil Hobgen7-Feb-05 19:00
Phil Hobgen7-Feb-05 19:00 
GeneralRe: XML/XSL Books Pin
Brendan Vogt7-Feb-05 21:22
Brendan Vogt7-Feb-05 21:22 
GeneralRe: XML/XSL Books Pin
Phil Hobgen7-Feb-05 22:39
Phil Hobgen7-Feb-05 22:39 
GeneralRe: XML/XSL Books Pin
Royce Fickling21-Aug-08 4:42
Royce Fickling21-Aug-08 4:42 
QuestionXSLT does not have min,max,abs methods. How do i use EXSLT ? Pin
Wilbur J. Pereira6-Feb-05 22:41
Wilbur J. Pereira6-Feb-05 22:41 
AnswerRe: XSLT does not have min,max,abs methods. How do i use EXSLT ? Pin
Phil Hobgen7-Feb-05 23:30
Phil Hobgen7-Feb-05 23:30 
Generalapp. config file Pin
Rekha Patel6-Feb-05 8:30
Rekha Patel6-Feb-05 8:30 
GeneralMicrosoft Real-Time Communications API Pin
jerry0davis4-Feb-05 4:46
jerry0davis4-Feb-05 4:46 
Generalmsxsl.exe output to a file Pin
Anonymous3-Feb-05 15:41
Anonymous3-Feb-05 15:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.