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
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.
id, name 1,bob 2,henry 3,ben 4,susan
<results> <row> <id>1</id> <name>bob</name> </row> .... and so on.
Or it could be something like <results> <row> <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.
|<- Previous||Index||Next ->|
|Re: [xsl] Why doesn test work in on, Shirley Gasch||Thread||Re: [xsl] Why doesn test work in on, Jon Gorman|
|Re: [xsl] Why doesn test work in on, Shirley Gasch||Date||Re: [xsl] Why doesn test work in on, Jon Gorman|