472,353 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Xslt/Xpath help

I have an xml and i'm trying to loop each node...
When i do FOR EACH i seem not to get my desired result
I want to loop through and get only the values that matches the question i
specified with the corresponding answers? I don't want to retrieve all the
Answer and VoteAnswers nodes

<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">

<xsl:value-of select="Answer[Answer='&lt;/b&gt;What dont you like
about working for us?&lt;/b&gt;']/Answer/text()"/>

<xsl:value-of
select="NSurveyVoter/Voter/Question/Answer[Answer='&lt;/b&gt;What dont you
like about working for us?&lt;/b&gt;']/VoterAnswer"/>

</xsl:for-each>

But when i do :-

<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">

<DIV STYLE="margin-left:1em">

<tr>

<td> <xsl:value-of select="Answer"/>

</td>

</tr>

<tr>

<td>

<b>

<xsl:value-of select="VoterAnswer"/>

</b>

</td>

</tr>

</DIV>

</xsl:for-each>

I get the result i want.

What am i missing?

My Xml below:-

<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="short.xsl"?>

<NSurveyVoter>

<Voter>

<VoterID>649</VoterID>

<SurveyID>13</SurveyID>

<VoteDate>2005-09-29T12:38:12.9700000+10:00</VoteDate>

<StartDate>2005-09-29T12:33:55.5330000+10:00</StartDate>

<IPSource>192.168.100.77</IPSource>

<Question>

<QuestionText />

<VoterID>649</VoterID>

<QuestionId>574</QuestionId>

<Answer>

<AnswerID>2062</AnswerID>

<Answer><b>What improvements would you like to see?(e.g Study support
etc...)</b></Answer>

<VoterAnswer>higher sunday pay rates.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>574</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

<Question>

<QuestionText></QuestionText>

<VoterID>649</VoterID>

<QuestionId>575</QuestionId>

<Answer>

<AnswerID>2063</AnswerID>

<Answer><b>What is the best thing about working for us?</b></Answer>

<VoterAnswer>the relaxed friendly atmosphere.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>575</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

<Question>

<QuestionText></QuestionText>

<VoterID>649</VoterID>

<QuestionId>576</QuestionId>

<Answer>

<AnswerID>2064</AnswerID>

<Answer>&lt;/b&gt;What dont you like about working for
us?&lt;/b&gt;</Answer>

<VoterAnswer>the product! very sick of telstra.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>576</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

</Voter>

</NSurveyVoter>


Nov 21 '05 #1
5 1475
Thanks for the reply Swapna..
And when i applied what you adviced i could loop through the Queations and
answer accordingly.
But what i want is match a particular question and answer e.g

<Answer><b>What improvements would you like to see?(e.g Study support
etc...)</b></Answer

I don't want to retrieve all the Questions and answer just the one above or
maybe any match i give to it.
Thanks

"swapna guddanti [MSFT]" wrote:

"Patrick.O.Ige" <pa********@optusnet.com.au> wrote in message
news:Ox**************@tk2msftngp13.phx.gbl...
I have an xml and i'm trying to loop each node...
When i do FOR EACH i seem not to get my desired result
I want to loop through and get only the values that matches the question i
specified with the corresponding answers? I don't want to retrieve all the
Answer and VoteAnswers nodes

<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">

<xsl:value-of select="Answer[Answer='</b>What dont you like
about working for us?</b>']/Answer/text()"/>

<xsl:value-of
select="NSurveyVoter/Voter/Question/Answer[Answer='</b>What dont you
like about working for us?</b>']/VoterAnswer"/>

</xsl:for-each>

But when i do :-

<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">

<DIV STYLE="margin-left:1em">

<tr>

<td> <xsl:value-of select="Answer"/>

</td>

</tr>

<tr>

<td>

<b>

<xsl:value-of select="VoterAnswer"/>

</b>

</td>

</tr>

</DIV>

</xsl:for-each>

I get the result i want.

What am i missing?

My Xml below:-

<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="short.xsl"?>

<NSurveyVoter>

<Voter>

<VoterID>649</VoterID>

<SurveyID>13</SurveyID>

<VoteDate>2005-09-29T12:38:12.9700000+10:00</VoteDate>

<StartDate>2005-09-29T12:33:55.5330000+10:00</StartDate>

<IPSource>192.168.100.77</IPSource>

<Question>

<QuestionText />

<VoterID>649</VoterID>

<QuestionId>574</QuestionId>

<Answer>

<AnswerID>2062</AnswerID>

<Answer><b>What improvements would you like to see?(e.g Study support
etc...)</b></Answer>

<VoterAnswer>higher sunday pay rates.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>574</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

<Question>

<QuestionText></QuestionText>

<VoterID>649</VoterID>

<QuestionId>575</QuestionId>

<Answer>

<AnswerID>2063</AnswerID>

<Answer><b>What is the best thing about working for us?</b></Answer>

<VoterAnswer>the relaxed friendly atmosphere.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>575</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

<Question>

<QuestionText></QuestionText>

<VoterID>649</VoterID>

<QuestionId>576</QuestionId>

<Answer>

<AnswerID>2064</AnswerID>

<Answer></b>What dont you like about working for
us?</b></Answer>

<VoterAnswer>the product! very sick of telstra.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>576</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

</Voter>

</NSurveyVoter>


if you want to group the question and all the corresponding answers from
voters , then the following xslt might help.
you need to use a new template to loop over the answers for the particular
question since the docuemnt order is always top down inside a template.
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">

<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer/Answer">
<question>
<xsl:value-of select="."/>
<answers>
<xsl:call-template name="newTemplate">
<xsl:with-param name="question" select="."/>
</xsl:call-template>
</answers>
</question>
</xsl:for-each>
</xsl:template>
<xsl:template name="newTemplate">
<xsl:param name="question"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<answer>
<xsl:value-of select="VoterAnswer[../Answer = $question]"/>
</answer>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

Nov 23 '05 #2
Patrick.O.Ige wrote:
I have an xml and i'm trying to loop each node...
Don't. Loops are for iterative processing out of document sequence,
not for finding things (well, usually...:-)
When i do FOR EACH i seem not to get my desired result
I want to loop through and get only the values that matches the
question i specified with the corresponding answers? I don't want to
retrieve all the Answer and VoteAnswers nodes


You haven't said what you want to do, but if you just want to
retrieve the answer to one specific question:

<xsl:value-of select="NSurveyVoter/Voter/Question/Answer/Answer
[contains(normalize-space(.),
'What dont you like about working for us?')]
/following-sibling::VoterAnswer"/>

In your example, this will return the value "the product! very sick of
telstra."

///Peter
Nov 23 '05 #3

"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
Thanks for the reply Swapna..
And when i applied what you adviced i could loop through the Queations and
answer accordingly.
But what i want is match a particular question and answer e.g

<Answer><b>What improvements would you like to see?(e.g Study support
etc...)</b></Answer

I don't want to retrieve all the Questions and answer just the one above or maybe any match i give to it.
Thanks

"swapna guddanti [MSFT]" wrote:

"Patrick.O.Ige" <pa********@optusnet.com.au> wrote in message
news:Ox**************@tk2msftngp13.phx.gbl...
I have an xml and i'm trying to loop each node...
When i do FOR EACH i seem not to get my desired result
I want to loop through and get only the values that matches the question i specified with the corresponding answers? I don't want to retrieve all the Answer and VoteAnswers nodes

<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">

<xsl:value-of select="Answer[Answer='</b>What dont you like
about working for us?</b>']/Answer/text()"/>

<xsl:value-of
select="NSurveyVoter/Voter/Question/Answer[Answer='</b>What dont you
like about working for us?</b>']/VoterAnswer"/>

</xsl:for-each>

But when i do :-

<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">

<DIV STYLE="margin-left:1em">

<tr>

<td> <xsl:value-of select="Answer"/>

</td>

</tr>

<tr>

<td>

<b>

<xsl:value-of select="VoterAnswer"/>

</b>

</td>

</tr>

</DIV>

</xsl:for-each>

I get the result i want.

What am i missing?

My Xml below:-

<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="short.xsl"?>

<NSurveyVoter>

<Voter>

<VoterID>649</VoterID>

<SurveyID>13</SurveyID>

<VoteDate>2005-09-29T12:38:12.9700000+10:00</VoteDate>

<StartDate>2005-09-29T12:33:55.5330000+10:00</StartDate>

<IPSource>192.168.100.77</IPSource>

<Question>

<QuestionText />

<VoterID>649</VoterID>

<QuestionId>574</QuestionId>

<Answer>

<AnswerID>2062</AnswerID>

<Answer><b>What improvements would you like to see?(e.g Study support etc...)</b></Answer>

<VoterAnswer>higher sunday pay rates.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>574</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

<Question>

<QuestionText></QuestionText>

<VoterID>649</VoterID>

<QuestionId>575</QuestionId>

<Answer>

<AnswerID>2063</AnswerID>

<Answer><b>What is the best thing about working for us?</b></Answer>

<VoterAnswer>the relaxed friendly atmosphere.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>575</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

<Question>

<QuestionText></QuestionText>

<VoterID>649</VoterID>

<QuestionId>576</QuestionId>

<Answer>

<AnswerID>2064</AnswerID>

<Answer></b>What dont you like about working for
us?</b></Answer>

<VoterAnswer>the product! very sick of telstra.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>576</QuestionId>

<SectionNumber>0</SectionNumber>

</Answer>

</Question>

</Voter>

</NSurveyVoter>


if you want to group the question and all the corresponding answers from
voters , then the following xslt might help.
you need to use a new template to loop over the answers for the particular question since the docuemnt order is always top down inside a template.
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">

<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer/Answer">
<question>
<xsl:value-of select="."/>
<answers>
<xsl:call-template name="newTemplate">
<xsl:with-param name="question" select="."/>
</xsl:call-template>
</answers>
</question>
</xsl:for-each>
</xsl:template>
<xsl:template name="newTemplate">
<xsl:param name="question"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<answer>
<xsl:value-of select="VoterAnswer[../Answer = $question]"/>
</answer>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>


hi,
If you want to group "a particular question" and the corresponding answers
then the following will do that.
Notice that I have used "normalize-space" function to take care of spaces in
hard coded strings.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="newTemplate">
<xsl:variable name="question" select="'What improvements would you like
to see?(e.g Study support
etc...)'"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<xsl:if test="normalize-space(VoterAnswer/../Answer) =
normalize-space($question)">
<answer>
<xsl:value-of select="VoterAnswer"/>
</answer>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

thanks,
swapna
Nov 23 '05 #4
Thx for the reply Swapna and Peter but with what you sent me i still
retrieve all the Questions with the coresponding answers..
I came up with an xslt that does what i want below:-
But i have a problem when i display it on the browser i get a BIG GAP between
The "HELLO" in the first row and the second ROW
Any advice on this..
Thanks alot

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<HTML>
<BODY>
<TABLE BORDER="1" width="800px" cellspacing="1" cellpadding="1">
<tr><td>hello</td></tr>
<xsl:for-each select="NSurveyVoter/Voter/Question/Answer">
<tr>
<td>
<xsl:value-of select="../Answer[Answer='<b>What dont you like about
working for CrazyJohns?</b>']/Answer/text()"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="../Answer[Answer='<b>What dont you like about
working for CrazyJohns?</b>']/VoterAnswer"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="../Answer[Answer='<b>What is the best thing
about working for Crazy Johns?</b>']/Answer/text()"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="../Answer[Answer='<b>What is the best thing
about working for Crazy Johns?</b>']/VoterAnswer"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="../Answer[Answer='<b>What improvements would
you like to see?(e.g Study support etc...)</b>']/Answer/text()"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="../Answer[Answer='<b>What improvements would
you like to see?(e.g Study support etc...)</b>']/VoterAnswer"/>
</td>
</tr>
</xsl:for-each>
</TABLE>
</BODY>
</HTML>
</xsl:template>

</xsl:stylesheet>




"swapna guddanti [MSFT]" wrote:

"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
Thanks for the reply Swapna..
And when i applied what you adviced i could loop through the Queations and
answer accordingly.
But what i want is match a particular question and answer e.g

<Answer><b>What improvements would you like to see?(e.g Study support
etc...)</b></Answer

I don't want to retrieve all the Questions and answer just the one above

or
maybe any match i give to it.
Thanks

"swapna guddanti [MSFT]" wrote:

"Patrick.O.Ige" <pa********@optusnet.com.au> wrote in message
news:Ox**************@tk2msftngp13.phx.gbl...
> I have an xml and i'm trying to loop each node...
> When i do FOR EACH i seem not to get my desired result
> I want to loop through and get only the values that matches the question i > specified with the corresponding answers? I don't want to retrieve all the > Answer and VoteAnswers nodes
>
> <xsl:for-each select="NSurveyVoter/Voter/Question/Answer">
>
> <xsl:value-of select="Answer[Answer='</b>What dont you like
> about working for us?</b>']/Answer/text()"/>
>
> <xsl:value-of
> select="NSurveyVoter/Voter/Question/Answer[Answer='</b>What dont you
> like about working for us?</b>']/VoterAnswer"/>
>
> </xsl:for-each>
>
>
>
> But when i do :-
>
> <xsl:for-each select="NSurveyVoter/Voter/Question/Answer">
>
>
>
>
>
> <DIV STYLE="margin-left:1em">
>
> <tr>
>
> <td> <xsl:value-of select="Answer"/>
>
>
>
>
>
> </td>
>
> </tr>
>
>
>
> <tr>
>
> <td>
>
> <b>
>
> <xsl:value-of select="VoterAnswer"/>
>
>
>
> </b>
>
> </td>
>
> </tr>
>
>
>
>
>
> </DIV>
>
>
>
> </xsl:for-each>
>
> I get the result i want.
>
> What am i missing?
>
>
>
> My Xml below:-
>
> <?xml version="1.0" encoding="utf-8" ?>
>
> <?xml-stylesheet type="text/xsl" href="short.xsl"?>
>
> <NSurveyVoter>
>
>
>
> <Voter>
>
>
>
> <VoterID>649</VoterID>
>
> <SurveyID>13</SurveyID>
>
> <VoteDate>2005-09-29T12:38:12.9700000+10:00</VoteDate>
>
> <StartDate>2005-09-29T12:33:55.5330000+10:00</StartDate>
>
> <IPSource>192.168.100.77</IPSource>
>
> <Question>
>
> <QuestionText />
>
> <VoterID>649</VoterID>
>
> <QuestionId>574</QuestionId>
>
> <Answer>
>
> <AnswerID>2062</AnswerID>
>
> <Answer><b>What improvements would you like to see?(e.g Study support > etc...)</b></Answer>
>
> <VoterAnswer>higher sunday pay rates.</VoterAnswer>
>
> <VoterId>649</VoterId>
>
> <QuestionId>574</QuestionId>
>
> <SectionNumber>0</SectionNumber>
>
> </Answer>
>
> </Question>
>
>
>
> <Question>
>
> <QuestionText></QuestionText>
>
> <VoterID>649</VoterID>
>
> <QuestionId>575</QuestionId>
>
> <Answer>
>
> <AnswerID>2063</AnswerID>
>
> <Answer><b>What is the best thing about working for us?</b></Answer>
>
> <VoterAnswer>the relaxed friendly atmosphere.</VoterAnswer>
>
> <VoterId>649</VoterId>
>
> <QuestionId>575</QuestionId>
>
> <SectionNumber>0</SectionNumber>
>
> </Answer>
>
> </Question>
>
>
>
> <Question>
>
> <QuestionText></QuestionText>
>
> <VoterID>649</VoterID>
>
> <QuestionId>576</QuestionId>
>
> <Answer>
>
> <AnswerID>2064</AnswerID>
>
> <Answer></b>What dont you like about working for
> us?</b></Answer>
>
> <VoterAnswer>the product! very sick of telstra.</VoterAnswer>
>
> <VoterId>649</VoterId>
>
> <QuestionId>576</QuestionId>
>
> <SectionNumber>0</SectionNumber>
>
> </Answer>
>
> </Question>
>
> </Voter>
>
>
>
>
>
> </NSurveyVoter>
>
>
>
>
>
>
if you want to group the question and all the corresponding answers from
voters , then the following xslt might help.
you need to use a new template to loop over the answers for the particular question since the docuemnt order is always top down inside a template.
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">

<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer/Answer">
<question>
<xsl:value-of select="."/>
<answers>
<xsl:call-template name="newTemplate">
<xsl:with-param name="question" select="."/>
</xsl:call-template>
</answers>
</question>
</xsl:for-each>
</xsl:template>
<xsl:template name="newTemplate">
<xsl:param name="question"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<answer>
<xsl:value-of select="VoterAnswer[../Answer = $question]"/>
</answer>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>


hi,
If you want to group "a particular question" and the corresponding answers
then the following will do that.
Notice that I have used "normalize-space" function to take care of spaces in
hard coded strings.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="newTemplate">
<xsl:variable name="question" select="'What improvements would you like
to see?(e.g Study support
etc...)'"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<xsl:if test="normalize-space(VoterAnswer/../Answer) =
normalize-space($question)">
<answer>
<xsl:value-of select="VoterAnswer"/>
</answer>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

thanks,
swapna

Nov 23 '05 #5
Patrick.O.Ige wrote:
Thx for the reply Swapna and Peter but with what you sent me i still
retrieve all the Questions with the coresponding answers.
Not with what I posted, because I tested it on the XML file you
supplied, and it returned exactly the string value of VoterAnswer.

Or is there something else about your document you didn't show?
Like multiple questions with the same Answer/Answer value?
I came up with an xslt that does what i want below:-
But i have a problem when i display it on the browser i get a BIG GAP
between The "HELLO" in the first row and the second ROW
Any advice on this..


I have no idea what you are trying to do here, sorry.

///Peter
Nov 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ramon M. Felciano | last post by:
Helo all -- I'm trying to gain a deeper understand for what type of semi-declarative programming can be done through XML and XPath/XSLT. I'm...
3
by: Justine Hlista | last post by:
I'm using xalan-j_2_6_0 and trying to get an example from Michael Kay's book to work: <xsl:template match="/"> <xsl:variable name="rainbow">...
4
by: Son KwonNam | last post by:
In XSLT, is this possible to get value from xml using XPath which is in XSLT variable? I mean XPath strings can be dynamic while XSL...
0
by: Jay Allard | last post by:
Hello I posted this in the vb.net group on the 2/25/2004, but didn't get any response. Here's attempt 2. Does anyone know of a more appropriate...
4
by: Chris Kettenbach | last post by:
Hi Peter, I get error when processing the stylesheet. It errors here. <xsl:for-each select="registration)=1]"> specifically: Expression...
3
by: Kathy Burke | last post by:
Hi again, I'm using the following xpath (works in visualizer) with a SelectSingleNode("xpath") statement. //Station/(WI])]/@order Problem...
3
by: Ian Roddis | last post by:
Hello, I want to embed SQL type queries within an XML data record. The XML looks something like this: <DISPLAYPAGE> <FIELD NAME="SERVER"...
1
by: Sergey Dubinets | last post by:
In effort to prioritize our goals we composed the list of random features each of them may add value to set of XSLT tools offered from Microsoft. ...
2
jkmyoung
by: jkmyoung | last post by:
Here's a short list of useful xslt general tricks that aren't taught at w3schools. Attribute Value Template Official W3C explanation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.