473,770 Members | 4,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="NSurvey Voter/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="NSurvey Voter/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="NSurvey Voter/Voter/Question/Answer">

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

<tr>

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

</td>

</tr>

<tr>

<td>

<b>

<xsl:value-of select="VoterAn swer"/>

</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>200 5-09-29T12:38:12.970 0000+10:00</VoteDate>

<StartDate>20 05-09-29T12:33:55.533 0000+10:00</StartDate>

<IPSource>192.1 68.100.77</IPSource>

<Question>

<QuestionText />

<VoterID>649</VoterID>

<QuestionId>574 </QuestionId>

<Answer>

<AnswerID>206 2</AnswerID>

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

<VoterAnswer>hi gher 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>206 3</AnswerID>

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

<VoterAnswer>th e 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>206 4</AnswerID>

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

<VoterAnswer>th e product! very sick of telstra.</VoterAnswer>

<VoterId>649</VoterId>

<QuestionId>576 </QuestionId>

<SectionNumber> 0</SectionNumber>

</Answer>

</Question>

</Voter>

</NSurveyVoter>


Nov 21 '05 #1
5 1603
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>Wh at 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********@opt usnet.com.au> wrote in message
news:Ox******** ******@tk2msftn gp13.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="NSurvey Voter/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="NSurvey Voter/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="NSurvey Voter/Voter/Question/Answer">

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

<tr>

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

</td>

</tr>

<tr>

<td>

<b>

<xsl:value-of select="VoterAn swer"/>

</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>200 5-09-29T12:38:12.970 0000+10:00</VoteDate>

<StartDate>20 05-09-29T12:33:55.533 0000+10:00</StartDate>

<IPSource>192.1 68.100.77</IPSource>

<Question>

<QuestionText />

<VoterID>649</VoterID>

<QuestionId>574 </QuestionId>

<Answer>

<AnswerID>206 2</AnswerID>

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

<VoterAnswer>hi gher 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>206 3</AnswerID>

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

<VoterAnswer>th e 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>206 4</AnswerID>

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

<VoterAnswer>th e 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:styleshe et 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="newTempla te">
<xsl:with-param name="question" select="."/>
</xsl:call-template>
</answers>
</question>
</xsl:for-each>
</xsl:template>
<xsl:template name="newTempla te">
<xsl:param name="question"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<answer>
<xsl:value-of select="VoterAn swer[../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="NSurvey Voter/Voter/Question/Answer/Answer
[contains(normal ize-space(.),
'What dont you like about working for us?')]
/following-sibling::VoterA nswer"/>

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

///Peter
Nov 23 '05 #3

"Patrick.O. Ige" <Pa*********@di scussions.micro soft.com> wrote in message
news:07******** *************** ***********@mic rosoft.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>Wh at 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********@opt usnet.com.au> wrote in message
news:Ox******** ******@tk2msftn gp13.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="NSurvey Voter/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="NSurvey Voter/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="NSurvey Voter/Voter/Question/Answer">

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

<tr>

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

</td>

</tr>

<tr>

<td>

<b>

<xsl:value-of select="VoterAn swer"/>

</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>200 5-09-29T12:38:12.970 0000+10:00</VoteDate>

<StartDate>20 05-09-29T12:33:55.533 0000+10:00</StartDate>

<IPSource>192.1 68.100.77</IPSource>

<Question>

<QuestionText />

<VoterID>649</VoterID>

<QuestionId>574 </QuestionId>

<Answer>

<AnswerID>206 2</AnswerID>

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

<VoterAnswer>hi gher 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>206 3</AnswerID>

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

<VoterAnswer>th e 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>206 4</AnswerID>

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

<VoterAnswer>th e 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:styleshe et 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="newTempla te">
<xsl:with-param name="question" select="."/>
</xsl:call-template>
</answers>
</question>
</xsl:for-each>
</xsl:template>
<xsl:template name="newTempla te">
<xsl:param name="question"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<answer>
<xsl:value-of select="VoterAn swer[../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:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template name="newTempla te">
<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(VoterAnsw er/../Answer) =
normalize-space($question )">
<answer>
<xsl:value-of select="VoterAn swer"/>
</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:styleshe et 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="NSurvey Voter/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*********@di scussions.micro soft.com> wrote in message
news:07******** *************** ***********@mic rosoft.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>Wh at 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********@opt usnet.com.au> wrote in message
news:Ox******** ******@tk2msftn gp13.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="NSurvey Voter/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="NSurvey Voter/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="NSurvey Voter/Voter/Question/Answer">
>
>
>
>
>
> <DIV STYLE="margin-left:1em">
>
> <tr>
>
> <td> <xsl:value-of select="Answer"/>
>
>
>
>
>
> </td>
>
> </tr>
>
>
>
> <tr>
>
> <td>
>
> <b>
>
> <xsl:value-of select="VoterAn swer"/>
>
>
>
> </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>200 5-09-29T12:38:12.970 0000+10:00</VoteDate>
>
> <StartDate>20 05-09-29T12:33:55.533 0000+10:00</StartDate>
>
> <IPSource>192.1 68.100.77</IPSource>
>
> <Question>
>
> <QuestionText />
>
> <VoterID>649</VoterID>
>
> <QuestionId>574 </QuestionId>
>
> <Answer>
>
> <AnswerID>206 2</AnswerID>
>
> <Answer><b>Wh at improvements would you like to see?(e.g Study support > etc...)</b></Answer>
>
> <VoterAnswer>hi gher 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>206 3</AnswerID>
>
> <Answer><b>Wh at is the best thing about working for us?</b></Answer>
>
> <VoterAnswer>th e 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>206 4</AnswerID>
>
> <Answer></b>What dont you like about working for
> us?</b></Answer>
>
> <VoterAnswer>th e 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:styleshe et 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="newTempla te">
<xsl:with-param name="question" select="."/>
</xsl:call-template>
</answers>
</question>
</xsl:for-each>
</xsl:template>
<xsl:template name="newTempla te">
<xsl:param name="question"/>
<xsl:for-each select="//NSurveyVoter/Voter/Question/Answer">
<answer>
<xsl:value-of select="VoterAn swer[../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:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
<xsl:template name="newTempla te">
<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(VoterAnsw er/../Answer) =
normalize-space($question )">
<answer>
<xsl:value-of select="VoterAn swer"/>
</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
2933
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 looking at graph processing problems as a testbed for this, and came across a problem that I haven't been able to solve elegantly. The problem is to find "linker" vertexes that a pair of verteces from a pre-defined set. For example, if the graph verteces represent cities and edges represent flights...
3
2143
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"> <color>red</color> <color>blue</color> <color>green</color> </xsl:variable>
4
21210
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 Transforming. If possible, How?? Because I'm not a native English speaker, it's quite hard to make the problem clear. Please see the following example.
0
380
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 place to post this? One new piece of information: It fails on any method that it happens to hit first. I juggled the methods a bit, and it just doesn't matter. As soon as the XslTransform hits an extension function, it fails with an invalid argument exception.
4
1832
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 does not return a DOM node. registration)=1]<--
3
4547
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 is I get an error "expression passed to this method should result in a NodeSet". Of course, that (sort of) makes sense to me now (I suppose just an attribute couldn't be a nodeset, but how would I go
3
3092
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" TYPE="DROPDOWN"> <OPTION>1<OPTION> <OPTION>2<OPTION> <OPTION>3<OPTION> </FIELD>
1
2420
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. 1. XSLTc (Compiler for XSLT stylesheets, that generates .NET assemblies) 2. Performance improvements in the XslCompiledTransform
2
22778
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 example This is when you want to put dynamic values in the attribute of an element. Instead of using the <xsl:attribute> element, you can simply place the xpath in the attribute itself. The most common usage of this is in creating hyperlinks.
0
9439
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.