Hi

I would like to do something as follows:

"Customer: Sun-Microsystems"

whereas my XSLT is as follows


<xsl:template match="invoice:customer">
       <text:p text:style-name="PCustomer">
Customer: <text:span text:style-name="TCustomerID"><xsl:value-of select="@id"/></text:span>
       </text:p>
</xsl:template>

which means the XML looks like <invoice:customer id="Sun-Microsystems"/>

but it seems to me that one can only attach a display-name in the case of style:family="paragraph" and not style:family="text".

Is that correct? (I didn't find anything within the v1.0 spec re this)

Thanks

Michi


--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to