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

Re: Concat ( Again )

Subject: Re: Concat ( Again )
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Mon, 26 Feb 2001 11:17:32 +0100
xslt concat url
Samuzeau Pascal wrote:
> 
> Eric,
> 
> Here is more information
> 
> My declaration :
> 
> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0" ?
>
> I don't know exactly my processor XSLT, I must ask to my supervisor, who is
> not there now. But I'm working
> on UNIX platform under APACHE, and I must run XML on module ASP.

We are sure that you are not using the pre MSXML 3.0 Microsoft
implementation, then.

Your symptom is really weird.

The fact that < A HREF="{$URL}" > gives HREF="concat($Located,$Named)"
shows that it does expend {$URL} as a reference to a variable and it
looks like the definition of the variable is not understood:

<xsl:variable name="URL" select="concat($Located,$Named)"
/></xsl:variable>

BTW, this snippet in not well formed XML and should have been written

<xsl:variable name="URL" select="concat($Located,$Named)" />

or

<xsl:variable name="URL"
select="concat($Located,$Named)"></xsl:variable>

which is strictly equivalent.

Is it possible that there has been a parsing error that you've not
noticed and that you are still looking at the document generated before
your modification ?

This declaration is correct, though...

If my explanation about the unnoticed parsing error is wrong, the XSLT
processor you are using is probably buggy.

Eric 
> If I use of Perldoc XML::XSLT, I get a version of 0.22
> 
> Kindly
> PS
> 
> Eric van der Vlist wrote:
> 
> > Samuzeau Pascal wrote:
> > >
> > > Hi,
> > .../...
> > > < A HREF="{$URL}" > ........
> > >
> > > But this doesn't work, I get HREF="concat($Located,$Named)">
> >
> > This should work with any XSLT 1.0 processor.
> >
> > Can you give us some more information, including the XSLT namespace
> > declaration at the beginning of your stylesheet and the XSLT processor
> > you are using ?
> >
> > Eric
> >
> > >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> > --
> > See you in Austin (Knowledge Technologies 2001)
> >               http://www.gca.org/attend/2001_conferences/kt_2001/mon.htm
> > ------------------------------------------------------------------------
> > Eric van der Vlist       Dyomedea                    http://dyomedea.com
> > http://xmlfr.org         http://4xt.org              http://ducotede.com
> > ------------------------------------------------------------------------
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
See you in Austin (Knowledge Technologies 2001)
              http://www.gca.org/attend/2001_conferences/kt_2001/mon.htm
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

 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.