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

Re: "Concatenate two element values as an attribute v

Subject: Re: "Concatenate two element values as an attribute value". ( was Re: Variables )
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Mon, 26 Oct 2009 19:26:27 +0100
Re:  "Concatenate two element values as an attribute  v
David Galligani wrote:

<a href="{/webenmr/calculation/webinfo/@workingdir}/{@filename}"> ...
</a>
and
<a
href="{ancestor::calculation/webinfo/@workingdir}/{@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/

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.