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 60
Search took 0.01 seconds.
Search: Posts Made By: rushman
Forum: XSLT December 14th, 2013, 10:25 AM
Replies: 1
Views: 3,000
Posted By rushman
Xslt in NodeJS

I'm new to NodeJS, but I'm well versed in XSLT. I wonder if there's a good XSLT module for Node?

Some may ask why I want to use XSLT in a Node project. Simple. I find XSLT the best tool to...
Forum: XSLT June 19th, 2012, 04:23 PM
Replies: 6
Views: 1,247
Posted By rushman
A good laugh from the future!

Oh Michael! If you only knew at the time of your posting...

Here I am, June of 2012, still coding with XSLT 1.0 ...

And no, it isn't MY choice ;o)
Forum: XSLT February 18th, 2011, 12:16 PM
Replies: 1
Views: 771
Posted By rushman
Fuzzy maths or what?

I'm kinda flabberghasted with this issue. Can someone explain me what's that weird behaviour.

<xsl:value-of select="0.3 + 0.3 + 0.3"/>

We would expect this to be 0.9 right? Wrong! I'm getting...
Forum: XSLT September 16th, 2010, 11:27 AM
Replies: 2
Views: 617
Posted By rushman
Your problem is CSS, not XSLT...

Your problem is CSS, not XSLT...
Forum: XSLT November 3rd, 2009, 12:39 PM
Replies: 3
Views: 703
Posted By rushman
Hello Mr. Kay! I'm using Xalan-Java. This is...

Hello Mr. Kay!

I'm using Xalan-Java. This is unfortunately not MY choice...

Rushman
Forum: XSLT November 3rd, 2009, 12:18 PM
Replies: 3
Views: 703
Posted By rushman
Extensions in Java and null pointers

Hi!

I had to code an extension function in Java. The following is a basic example. Let's say:

myURI:getContent(node) which returns the text content of a node or null if it's an empty node.
...
Forum: XSLT December 17th, 2008, 06:35 PM
Replies: 2
Views: 633
Posted By rushman
If you want some help, post a simple XML example...

If you want some help, post a simple XML example and your XSLT to show where things go wrong in your transformation.
Forum: XSLT December 17th, 2008, 06:28 PM
Replies: 2
Views: 642
Posted By rushman
predicates and variables in match attribute

Hi all!

Let's say we have this XML:

<frozenTreats>
<treat type="ice-cream">
<flavour>chocolate</flavour>
</treat>
<treat type="ice-cream">
...
Forum: XSLT March 5th, 2008, 06:46 PM
Replies: 7
Views: 7,873
Posted By rushman
Dynamic xsl:include?

Helloooooo there!

I wonder if the following is possible: can I dynamically set the href attribute of an xsl:include?

Let's say we have our original XML

<nothing/>

then we have two xsl...
Forum: XML February 28th, 2008, 05:51 PM
Replies: 10
Views: 6,197
Posted By rushman
Hello again! a) Dijkstra's quote IS in fact...

Hello again!

a) Dijkstra's quote IS in fact part of my sig (which I won't include this time because it seems to confuse some people...)

b) The first example I've posted is NOT good. I'm looking...
Forum: XML February 26th, 2008, 02:31 PM
Replies: 10
Views: 6,197
Posted By rushman
I was referring to an existing attribute group...

I was referring to an existing attribute group somewhere in the schema...
Forum: XML February 26th, 2008, 01:13 PM
Replies: 10
Views: 6,197
Posted By rushman
I don't know if we can ref a named type. I know...

I don't know if we can ref a named type. I know it works with existing elements, but not types...

Dijkstra's law on Programming and Inertia:

If you don't know what your program is supposed to...
Forum: XML February 26th, 2008, 01:00 PM
Replies: 10
Views: 6,197
Posted By rushman
Hi Sam! Yes in fact, my example isn't a good...

Hi Sam!

Yes in fact, my example isn't a good one.

Let's rewind and and have these two types:

<xs:complexType name="tipanouType" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">...
Forum: XML February 26th, 2008, 12:19 PM
Replies: 10
Views: 6,197
Posted By rushman
XML Schema complexType union

Hi all!

Let's say we have these types:

<xs:complexType name="litteralType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="xml:lang" use="required"/>...
Forum: XSLT November 14th, 2007, 02:50 PM
Replies: 3
Views: 1,357
Posted By rushman
I think that your problem isn't XSLT but...

I think that your problem isn't XSLT but XSL-FO... Try to post this in an XSL-FO forum... And make a simple example while you're at it...

Dijkstra's law on Programming and Inertia:

If you don't...
Forum: XSLT November 12th, 2007, 02:35 PM
Replies: 2
Views: 1,025
Posted By rushman
Thanks Sam for your quick reply. I guess I'm...

Thanks Sam for your quick reply. I guess I'm gonna use the name="abc:{local-name()}" approach.

Dijkstra's law on Programming and Inertia:

If you don't know what your program is supposed to do,...
Forum: XSLT November 12th, 2007, 02:21 PM
Replies: 3
Views: 1,357
Posted By rushman
You'd better provide an example with XML source,...

You'd better provide an example with XML source, desired output and what you have done up until now with your XSLT. It'll be easier to help you if you help us help you...
Forum: XSLT November 12th, 2007, 02:17 PM
Replies: 2
Views: 1,025
Posted By rushman
Changing namespace on copy

Hi all!

What's the most effective way of changing the namespace of a node when copying it? Here's a simple example:


<ns1:root xmlns:ns1="http://www.someUrl.com/ns1">
<ns1:element>element to...
Forum: XSLT October 19th, 2007, 03:54 PM
Replies: 3
Views: 968
Posted By rushman
Thanks Mister Kay for your answer. However, after...

Thanks Mister Kay for your answer. However, after reviewing my XML and XSL, I realized that it was a little more complicated. In fact, the parameters get passed as a sum instead of passing the...
Forum: XSLT October 17th, 2007, 01:47 PM
Replies: 3
Views: 968
Posted By rushman
sorting parameters

Hi all!

Let's say I have this XML

<whatever>
<nbPeople>2</nbPeople>
<nbAnimals>4</nbAnimals>
<nbInvertebrates>1</nbInvertebrates>
</whatever>
Forum: XSLT September 27th, 2007, 11:02 AM
Replies: 4
Views: 1,732
Posted By rushman
Thank you Mr. Kay for your quick reply. You rule,...

Thank you Mr. Kay for your quick reply. You rule, as always...

Dijkstra's law on Programming and Inertia:

If you don't know what your program is supposed to do, don't try to write it.
Forum: XSLT September 27th, 2007, 10:34 AM
Replies: 4
Views: 1,732
Posted By rushman
Hi! Yes I know that it isn't the same thing,...

Hi!

Yes I know that it isn't the same thing, but it is going to be used in a <xsl:value-of select="$chain"/> later on.

My guess is that concat() will be more efficient but, as you say, it will...
Forum: XSLT September 27th, 2007, 10:14 AM
Replies: 4
Views: 1,732
Posted By rushman
Performance in String concatenation

Hello all!

A colleague asked me what was the best (and fastest) approach to concatenate strings between using:

<xsl:variable name="chain" select="concat('Nodename: ', xxx:Resource/@name,...
Forum: XSLT September 12th, 2007, 10:36 AM
Replies: 2
Views: 1,059
Posted By rushman
Thank you M. Kay, your help is always greatly...

Thank you M. Kay, your help is always greatly appreciated.

Rushman
Forum: XSLT September 12th, 2007, 09:31 AM
Replies: 2
Views: 1,059
Posted By rushman
Testing for presence of a variable

Hi everyone!

I came across a little problem recently and I need to know if there's a way to solve this.

Let's say I have a style sheet called "wrapper.xsl" that imports two other stylesheets...
Showing results 1 to 25 of 60

 


All times are GMT -4. The time now is 08:24 PM.


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