[xep-support] Error with multi-property-set for basic-link

Clary, Brian D. BDClary at mail.ifas.ufl.edu
Tue Jul 27 08:46:35 PDT 2004


Hello,

After seeing an example on this page
<URL:http://www.w3.org/TR/xsl/slice6.html#fo_basic-link> (just above), I
tried to recreate it for a pdf.

An excerpt from the input XML:

<p>...  The Florida statues can be found at <ulink
url="http://www.leg.state.fl.us/statutes">http://www.leg.state.fl.us/statute
s,</ulink> Title 33: Chapter 509.</p>

I use the following XSL:

<xsl:template match="ulink">
	<multi-properties text-decoration="underline">
		<multi-property-set active-state="link" color="blue" />
		<multi-property-set active-state="visited" color="purple" />
		<multi-property-set active-state="active" color="red" />
		<multi-property-set active-state="hover" color="green" />
		<multi-property-set active-state="focus" color="blue" />
		<wrapper color="merge-property-values()"
text-decoration="merge-property-values()">
			<basic-link
external-destination="url({@url})"><xsl:apply-templates /></basic-link>
		</wrapper>
	</multi-properties>
</xsl:template>

But when running XEP (version 3.6.1), I get the following error:

"C:\XEP>xep -xml fs098.xml -xsl pdf.xsl
(document
(validate
{![error] Element 'fo:multi-property-set' cannot be a descendant of
'fo:block' through wrapper elements. Only block-level or inline-level
elements are permitted in this context.}
[validation total: 5 errors])"

I've had several other pairs of eyes look through this to make sure I didn't
make a typo or get the structure wrong, but I can't figure out what the
problem is.  Any ideas?

-- 
Brian Clary
Database Technician
UF/IFAS Information Technologies
TEL: 352-392-3196
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list