[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: 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
Re:  Why doesn test work in one case
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
1,bob
2,henry
3,ben
4,susan

The internal process converts this too something perhaps like:

<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.

Jon Gorman

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.