Re: [xsl] need help with converting attribute into elements

Subject: Re: [xsl] need help with converting attribute into elements
From: andrew.curry@xxxxxxxxxxxx
Date: Tue, 14 Oct 2003 09:50:12 +0100
Have you thought of using css instead of a font tag?

PA Sport RnD

Andrew Curry
Software Developer

Telephone: 01430 455545

PA News Limited:
Bridgegate, Howden, East Yorkshire, DN14 7AE

Registered Office:
PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered in
England No. 3891053

----- Original Message ----- 
From: "Aleš Peregrin" <ales.peregrin@xxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, October 14, 2003 9:46 AM
Subject: [xsl] need help with converting attribute into elements

> Hi!
> I'm trying to make a XSLT stylexheet for transforming XML document into
> and there is a problem I'm unable to solve, even after a week of trying
> searching all over the internet. The problem looks quite easy to me and it
> seems I'm missing something important about XSL  language. Here it goes:
> I have an XML tag which looks like this: <text bold=true italic=true
> underline=false>Help!</text>
> In this case, the result in HTML should be:
> <font>
>    <b>
>       <i>
>          Help!
>       </i>
>    </b>
> </font>
> I simply need to transform the attributes into HTML elements so that any
> the possible combinations of the atributes' values would be transformed
> correctly.
> Can anyone help me?
> Thanx.
> Ales Peregrin
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread