xsl-list
[Top] [All Lists]

Re: [xsl] fo:inline within fo:basic-link (extra output space)

2007-11-13 18:06:56
Tony

The mail client or the list server, has probably mis-rendered my source. It is <WebLink url="xml.org">XML</WebLink>-based single-sourcing. I removed http and :// from the url attribute to avoid rendering it wrong again. XML here is pure text. When the fo:inline is removed, it displays normally as: ... XML-based ..., but there is no attribute provision for fo:basic-link to color text blue as in any web link...

Regards
Khaled

Tony Graham wrote:
On Tue, Nov 13 2007 01:34:03 +0000, ka(_dot_)aly(_at_)luxsci(_dot_)net wrote:
...
I've added the element WebLink to xsl:strip-space to overcome, but didn't work.

The source XML is:

employing <WebLink url="http://www.xml.org"; <http://www.xml.org>>XML</WebLink>-based single-sourcing.

This input is not well-formed since the WebLink start-tag has
"<http://www.xml.org>" inside it.

When your input is not XML, it's surprising you can get any output.

...
The Saxon generated FO is:

employing <fo:basic-link external-destination="http://www.xml.org"; <http://www.xml.org>> <fo:inline color="blue" text-decoration="underline">XML</fo:inline>
</fo:basic-link>-based single-sourcing

The output is also not well-formed.

There's definitely something odd going on because you've managed to
split the ">XML" text to insert the fo:inline start-tag.

Regards,


Tony Graham.
======================================================================
Tony(_dot_)Graham(_at_)MenteithConsulting(_dot_)com   
http://www.menteithconsulting.com

Menteith Consulting Ltd             Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
----------------------------------------------------------------------
Menteith Consulting -- Understanding how markup works
======================================================================

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




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