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 | 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 16 of 16
Search took 0.00 seconds.
Search: Posts Made By: rfossella
Forum: XSLT August 5th, 2010, 02:00 AM
Replies: 6
Views: 1,020
Posted By rfossella
Follow-up: I came up with this, which seems to...

Follow-up:
I came up with this, which seems to work:
<xsl:template name="addCharToString">

<xsl:param name="myString" />
<xsl:param name="charToAdd" select="'#'" />

<xsl:variable...
Forum: XSLT August 5th, 2010, 12:51 AM
Replies: 6
Views: 1,020
Posted By rfossella
Arrow Recursive Concatenation

I know this question must have been answered before but cannot locate it.

I want to create a recursive function (I assume) that will take a string and simply add a character (e.g. #) after each...
Forum: XSLT July 8th, 2010, 07:49 PM
Replies: 5
Views: 9,994
Posted By rfossella
Thanks, Sam. I was hoping to use the much more...

Thanks, Sam. I was hoping to use the much more straight-forward JavaScript :( Oh well. Thanks for your time.
Forum: XSLT July 7th, 2010, 11:39 PM
Replies: 5
Views: 9,994
Posted By rfossella
Does anyone know if JavaScript extensions are...

Does anyone know if JavaScript extensions are allowed using LIBXSLT? I used them successfully with MSXML but wanted to try it with a non-Microsoft library.

Thanks.
Forum: XSLT June 28th, 2010, 04:39 PM
Replies: 9
Views: 926
Posted By rfossella
Thanks for the suggestions. I read through and...

Thanks for the suggestions. I read through and tried them, however they don't work on my host server and I don't have control over the PHP configuration - i.e. ini files (as suggested in docs). ...
Forum: XSLT June 28th, 2010, 04:32 AM
Replies: 9
Views: 926
Posted By rfossella
Hmm... guess I'm confused about this. I'm using...

Hmm... guess I'm confused about this. I'm using php commands to to gather the xml/xsl and firing off the transformation. The transformation is happening on my server. Wouldn't the version of XSL...
Forum: XSLT June 28th, 2010, 03:34 AM
Replies: 9
Views: 926
Posted By rfossella
Here's the PHP function function...

Here's the PHP function

function processXSL_UsingXML($xslToUse, $xmlToUse)
{

$xp = xslt_create();
xslt_set_error_handler($processor, "errorHandler");
xslt_set_log($xp, true);...
Forum: XSLT June 28th, 2010, 02:43 AM
Replies: 9
Views: 926
Posted By rfossella
Smile I did see the Collection function earlier but was...

I did see the Collection function earlier but was under the impression that I'd have add extensions. This is now native to XSLT 2.0?

In any event, I found and tried the following example, which...
Forum: XSLT June 27th, 2010, 11:34 PM
Replies: 9
Views: 926
Posted By rfossella
Reading from Filesystem

Is there a way to read files from the filesystem via XSL?

I have a directory of files for which I want to create an XML file using those file names.

I've done this many times in PHP but am...
Forum: XSLT June 8th, 2010, 08:07 PM
Replies: 11
Views: 5,527
Posted By rfossella
Still looking for a bit more guidance regarding...

Still looking for a bit more guidance regarding my counter question.

Is my sample XML/XSL enough of a test case?

http://share.rjfweb.com/XML/ProcessP...MySample_1.xml

Thanks.
Rob
Forum: XSLT May 25th, 2010, 04:05 PM
Replies: 11
Views: 5,527
Posted By rfossella
Was wondering if there were any other thoughts...

Was wondering if there were any other thoughts about my issue. Started looking into recursion but interested in a more straight-forward approach.

Rob
Forum: XSLT May 21st, 2010, 05:08 PM
Replies: 11
Views: 5,527
Posted By rfossella
** Fair enough. I have linked my updated page...

**
Fair enough. I have linked my updated page below. I'm now using a more reasonable number of nodes but still enough to see some sort of page break logic. Please note that at the TOP of the page...
Forum: XSLT May 21st, 2010, 03:14 AM
Replies: 11
Views: 5,527
Posted By rfossella
I hope the following example will help w/my...

I hope the following example will help w/my question:

http://share.rjfweb.com/XML/ProcessPage.php?xsl=ConfirmStatementFinance_New.xsl&xml=ConfirmFinSample3.xml

Notice there is a count (from...
Forum: XSLT May 21st, 2010, 01:54 AM
Replies: 11
Views: 5,527
Posted By rfossella
Wondering if my last post made sense to anyone...

Wondering if my last post made sense to anyone and if you think recursion is the only way to handle this.

Thanks.
Rob
Forum: XSLT May 10th, 2010, 01:23 AM
Replies: 11
Views: 5,527
Posted By rfossella
Thank you Martin and Michael. Martin: re:...

Thank you Martin and Michael.

Martin: re: count(preceding::Sub2) + 1
I had actually tried a similar approach and it does give me a correct "full" count however, as Michael points out I do need to...
Forum: XSLT May 9th, 2010, 04:13 AM
Replies: 11
Views: 5,527
Posted By rfossella
Counter within nested for-each

I am getting back into XSL after about a 4 year absence.

I've been trying to track down a solution to the following (common, I suppose) question. It's related to counting nodes within nested...
Showing results 1 to 16 of 16

 


All times are GMT -4. The time now is 07:34 AM.


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