xsl-list
[Top] [All Lists]

Re: [xsl] "Concatenate two element values as an attribute value". ( was Re: [xsl] Variables )

2009-10-26 14:27:14
David Galligani wrote:

<a href="{/webenmr/calculation/webinfo/@workingdir}/{(_at_)filename}"> ...
                                                       </a>
and
  <a
href="{ancestor::calculation/webinfo/@workingdir}/{(_at_)filename}">...</a>

Output a correct href , even in if there's a :
<xsl:value-of select="@filename}"/>
between the two <a> and </a> tags I get an empty page :)

The output of your XSLT stylesheet should be an HTML document and HTML documents, at least when rendered in the browser window, do not have pages. You only get pages or empty pages when you print an HTML document. Do you use any print stylesheet that could have CSS settings enforcing a page break?

How does the resulting HTML markup look exactly?

Generally when you develop an XSLT stylesheet to produce a HTML document I wouldn't start with rendering that result directly in the browser, rather I would look at the serialized transformation result in a file and inspect the HTML markup created in a editor or at least in console window.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>