[fpc-pascal] XMLcfg question

2005-09-06 Thread dhkblaszyk
I'm working with XMLcfg to do read and write to XML files. I want to extract data from the following XML file where element name is "second", how can I achieve that?? Darius second description second description

Re: [fpc-pascal] XMLcfg question

2005-09-06 Thread Sebastian Günther
[EMAIL PROTECTED] schrieb: > I'm working with XMLcfg to do read and write to XML files. I want to > extract data from the following XML file where element name is "second", > how can I achieve that?? You cannot. Perhaps the XPath implementation can fulfil your requirements better. - Sebastian _

[fpc-pascal] fpExecv

2005-09-06 Thread Alain Michaud
Hi, Someone could please help me with this: the simple console program (linux): >prog1 --arg1 123 prints the result 123: >prog1 --arg 123 123 now I write another program 'prog2' that has the line: fpExecv('prog1',pp); where pp[0] <-- 'prog1' pp[1] <-- '--arg' pp[2] <-- '123' If I run

Re: [fpc-pascal] fpExecv

2005-09-06 Thread L505
> Question: what should I do to redirect ("pipe") the output "123" into > the program "prog2" and not print it? Is it possible? > > Alain Michaud > Have you seen "AssignStream()". You can grab the piped output without it printing off on you. There are more ways to do it if you want more cross