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

Re: Re: Comparing Node Text Content with a String Set

Subject: Re: Re: Comparing Node Text Content with a String Set
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Tue, 28 Oct 2003 09:27:16 -0700
xpath text content
Oh boy... unfortunately the structure of the XML is produced by ADO. Could I
not transform the attribute into a regular node somehow and then perform the
following listed below?

----- Original Message -----
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, October 28, 2003 9:12 AM
Subject:  Re: Comparing Node Text Content with a String Set


> > > If you don't want to use the extension function you can access the
> > > lookup table by putting it in a separate XML document.
> > >
> >
> > You can actually also put the lookup table into a named template in the
> > stylesheet.  You can access it via
> > document('')/xsl:stylesheet/xsl:template[name="..."], where "..." is the
> > name of the template.  This way you do not need to coordinate and
> > maintain an extra external file.
>
> Yes,  but if you happen to call this named template the lookup table has
> good chances to appear in the output...
>
> It is shorter and safer to have the table as a child of the xsl:stylesheet
> element.
>
> Then it is accessible using a shorter XPath expression"
>
>    document('')/*/myTable:lookup/*
>
>
> =====
> Cheers,
>
> Dimitre Novatchev.
> http://fxsl.sourceforge.net/ -- the home of FXSL
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.