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

Re: XSL Problem for expert

Subject: Re: XSL Problem for expert
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Wed, 10 May 2000 10:43:51 +0200
xml expert in sydney
No, you can't do such things !

Both the XSLT stylesheet and your xml input document need to be well
formed XML documents.

Working with XML/XSLT coming from HTML requires to stop thinking of tags
and to think of elements.

If you tell us what you want to achieve at a higher level, we can try to
suggest alternative solutions.

Eric

Sydney wrote:
> 
> Hi
> 
> Is it possible to do something like this?
> 
> <div type="chapter">
> <p>Paragraph</p>
> <pb/>
> 
> And the template
> 
> <xsl:template match="div[@type='chapter']>
> <div style="font-size:72pt">
> <xsl:apply-templates/>
> <!-- We don't close the div tag -->
> </xsl:template>
> 
> <xsl:template match="pb">
> </div>
> <!-- We close the previous div tag -->
> </xsl:template>
> 
> Is there a way to do this?
> 
> Thanks
> Sydney
> 
> ___________________________________________________________
> Do You Yahoo!?
> Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------


 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.