Re: [xsl] Why doesn test work in one case, but not another???

Subject: Re: [xsl] Why doesn test work in one case, but not another???
From: "Jon Gorman" <jonathan.gorman@xxxxxxxxx>
Date: Wed, 10 May 2006 16:51:45 -0500
On 5/10/06, Shirley Gasch <sgasch@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Jon,

I did try building it from scratch, but with no better result.

I need to understand better how the test works. In the example that
worked, the MssnTer is a fieldname and Y is one of the possible
values. In the one that didn't work, System is a fieldname and A is
one of the values. I tried removing the ' ', but no change. It always
falls through the test with system.

The problem is you're confusing some of the internals of Filemaker Pro and the abilities and uses of XSLT.

I'm assuming here Filemaker Pro is working like many other database
products can do now, it takes the results of a query, produces them in
xml, then transforms the xml via xslt.

So let's imagine we have a database that returns all results in csv.

id, name

The internal process converts this too something perhaps like:

.... and so on.

Or it could be something like
<field name="@bob">bob</field>
then you can apply the transform to it.

Notice you need to understand the form of the xml that the stylesheet
will apply to.  It doesn't matter that you know in the abstract in the
database it will be a field called "name".  The xslt just cares about
how the document being feed into is marked up.

Jon Gorman

Current Thread