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

Re: need help with converting attribute into elements

Subject: Re: need help with converting attribute into elements
From: andrew.curry@xxxxxxxxxxxx
Date: Tue, 14 Oct 2003 10:09:48 +0100
transforming attributes into elements
Then the nested approach suggested by Rod would work.

PA Sport RnD

Andrew Curry
Software Developer

Telephone: 01430 455545
Website:        http://www.pa.press.net

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 10:11 AM
Subject: Re:  need help with converting attribute into elements


Yes, that would probably work, but I am required not to use CSS.
Thanx anyway.
Ales Peregrin
----- Original Message -----
From: <andrew.curry@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, October 14, 2003 10:50 AM
X-Scanned: By Symantec Anti-Virus Scan Engine
Subject: Re:  need help with converting attribute into elements


> Have you thought of using css instead of a font tag?
>
> PA Sport RnD
>
> Andrew Curry
> Software Developer
>
> Telephone: 01430 455545
> Website:        http://www.pa.press.net
>
> 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
> X-Scanned: By Symantec Anti-Virus Scan Engine
> Subject: Re:  need help with converting attribute into elements
>
>
> > Hi!
> > I'm trying to make a XSLT stylexheet for transforming XML document into
> HTML
> > and there is a problem I'm unable to solve, even after a week of trying
> and
> > 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
> of
> > the possible combinations of the atributes' values would be transformed
> > correctly.
> >
> > Can anyone help me?
> > Thanx.
> > Ales Peregrin
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.