Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 290
Search took 0.02 seconds.
Search: Posts Made By: pallone
Forum: XSLT July 13th, 2012, 06:02 PM
Replies: 4
Views: 1,207
Posted By pallone
Thanks for letting me know it is not possible to...

Thanks for letting me know it is not possible to achieve this in version 1 for it is too hard.
Forum: XSLT July 13th, 2012, 07:56 AM
Replies: 4
Views: 1,207
Posted By pallone
Hi Michael, Thanks very much for your...

Hi Michael,

Thanks very much for your reply.

I am trying to learn now to do this in XSLT 1.0. I know your explanation was very thorough.

Could you please kindly show us how to create this...
Forum: XSLT July 12th, 2012, 04:54 PM
Replies: 4
Views: 1,207
Posted By pallone
Subtracting end date - inital date but count only week days not Saturdays and Sundays

Hi,

Is possible to subtract the end date - start date and get the number of days but without weekends?

So, if I am on Friday and my end date is the following Monday then I should get 1...
Forum: XSLT July 11th, 2012, 02:20 PM
Replies: 7
Views: 951
Posted By pallone
Hi Martin, Thanks for your reply. I will...

Hi Martin,

Thanks for your reply. I will try it tomorrow.

Cheers

C
Forum: XSLT July 11th, 2012, 12:31 PM
Replies: 7
Views: 951
Posted By pallone
Hi Sam, thanks again for your help. I...

Hi Sam,

thanks again for your help.

I had a look at the url you suggested and If I use this:

XslCompiledTransform xslt = newXslCompiledTransform();...
Forum: XSLT July 11th, 2012, 08:17 AM
Replies: 7
Views: 951
Posted By pallone
Hi Sam, Thanks very very much for your...

Hi Sam,

Thanks very very much for your help.

I was stuck with this issue.

I think that the look up files can grow quite a lot as well as the master one.

Could you please elaborate a...
Forum: XSLT July 10th, 2012, 06:19 PM
Replies: 7
Views: 951
Posted By pallone
This is what I am trying but to no avail ...

This is what I am trying but to no avail

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

<xsl:template match="/">
<xsl:variable name="xmlLookup1"...
Forum: XSLT July 10th, 2012, 03:56 PM
Replies: 7
Views: 951
Posted By pallone
Adding nodes from 2 different xml files into a third xml

Hi,

Please note that I am using XSLT 1.0 and ,NET 4

I have 3 xml files. One of them is the master and the other 2 are like look up tables. I have to bring elements from the look up files xml...
Forum: Javascript How-To July 8th, 2011, 05:13 AM
Replies: 8
Views: 27,398
Posted By pallone
Imar, Thanks for all your help

Imar,

Thanks for all your help
Forum: Javascript How-To July 7th, 2011, 10:37 AM
Replies: 8
Views: 27,398
Posted By pallone
Hi Imar, I think your first suggestion is...

Hi Imar,

I think your first suggestion is going to work. I am comparing two values instead of one. What do you think?

Cheers

var selectedNodes = getNodeSet(xmlResult.xml,...
Forum: Javascript How-To July 7th, 2011, 10:14 AM
Replies: 8
Views: 27,398
Posted By pallone
Hi Imar, the previousValue cannot be an...

Hi Imar,

the previousValue cannot be an empty string otherwise it will be true and I will break out of the loop.

In my collection I have foo, foo,bar.foo. Therefore, if I compare the first...
Forum: Javascript How-To July 7th, 2011, 09:16 AM
Replies: 8
Views: 27,398
Posted By pallone
Hi Imar, 1 - But what happnes to firstName?...

Hi Imar,

1 - But what happnes to firstName? You have not assigned it to any value? Do I still need to have my variable at the top ( var firstName = selectedNodes[0].value)

2 - Please could...
Forum: Javascript How-To July 7th, 2011, 09:11 AM
Replies: 8
Views: 27,398
Posted By pallone
Hi Imar, thanks for the reply. I will try...

Hi Imar,

thanks for the reply. I will try that.
Forum: Javascript How-To July 7th, 2011, 09:04 AM
Replies: 8
Views: 27,398
Posted By pallone
How to compare current value with previous value in a loop

Hi,

How do I compare the current value with previous value in a loop in javascript and determine if they are different?

The code below is my trial but to no avail. I am not comparing with the...
Forum: XSLT September 14th, 2010, 09:36 AM
Replies: 6
Views: 5,068
Posted By pallone
Hi Martin, I have just tried your code and...

Hi Martin,

I have just tried your code and it seems to have worked very well for this xml. I will try it with other xml where I have deeper levels.

Thanks very much

This is the output I...
Forum: XSLT September 14th, 2010, 09:28 AM
Replies: 6
Views: 5,068
Posted By pallone
Hi Martin and Sam, Thanks very much for...

Hi Martin and Sam,

Thanks very much for your help.

I had tried this before but it did not work because I need to mantain the structure of the xml as well with all the hierarchy.

<?xml...
Forum: XSLT September 14th, 2010, 09:02 AM
Replies: 6
Views: 5,068
Posted By pallone
Transform Attribute based xml to element based xml

Hi,

I use MSXML and XSLT 1.0

I am aware that there is an identity function in XSLT that will create an exact copy of the entire xml including elements, nested elements and attributes.

I...
Forum: XSLT August 13th, 2010, 01:19 PM
Replies: 10
Views: 1,478
Posted By pallone
Thanks Michael. Sam, your code worked very...

Thanks Michael.

Sam, your code worked very well.

Thanks again.
Forum: XSLT August 13th, 2010, 08:51 AM
Replies: 10
Views: 1,478
Posted By pallone
Hi Michael, Does the EXSL library works for...

Hi Michael,

Does the EXSL library works for both IE 6 + and Firefox 3 + ?

Cheers

P
Forum: XSLT August 13th, 2010, 08:50 AM
Replies: 10
Views: 1,478
Posted By pallone
Smile Hi Sam, Thanks for the source code. I will...

Hi Sam,

Thanks for the source code. I will try that straight away after lunch.

I really appreciate your help
Forum: XSLT August 13th, 2010, 08:30 AM
Replies: 10
Views: 1,478
Posted By pallone
Hi Michael and Sam, Thanks for your reply. ...

Hi Michael and Sam,

Thanks for your reply.

Sorry, I forgot to mention that I am using XSLT 1 and MSXML.

1 - But what about the month?

If my start date is 201008 then my end date has...
Forum: XSLT August 13th, 2010, 08:09 AM
Replies: 10
Views: 1,478
Posted By pallone
Hi, For some reason my text is not...

Hi,

For some reason my text is not formatting well. I will post the code below again.


<Schedule>
<AnchorDate>
<Monthvalue="8"></Month>
<Yearvalue="2010"></Year>
...
Forum: XSLT August 13th, 2010, 08:08 AM
Replies: 10
Views: 1,478
Posted By pallone
How to add 12 moths to a date

Hi,

1 - Please could someone shed some light on how to add 12 months (1 year) to a start date?

In the xml below I have an AnchorDate element that contains Year and Month elements.

They...
Forum: XSLT June 15th, 2010, 01:41 PM
Replies: 12
Views: 1,482
Posted By pallone
Hi Martin, Thanks for the explanation. ...

Hi Martin,

Thanks for the explanation.

It is spot on.
Forum: XSLT June 15th, 2010, 09:47 AM
Replies: 12
Views: 1,482
Posted By pallone
Hi Martin, I have tried your xslt and it...

Hi Martin,

I have tried your xslt and it works fine.

I would like to express my sincere thanks for your help and source code.

Please could you explain to us the key you created?

<xsl:key...
Showing results 1 to 25 of 290

 


All times are GMT -4. The time now is 11:31 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.