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

Re: Outputting closing-slash in XHTML tags

Subject: Re: Outputting closing-slash in XHTML tags
From: Daniel Bibbens <dbibbens@xxxxxxxxxx>
Date: Sun, 30 Mar 2003 15:37:44 -0600 (CST)
xsl slash
Try the example I've sent (I've also sent the output). You can see the
result at http://schema.xobjex.com/cgi-bin/process.pl?xsl=user/add.xsl
You will see that it gives you the result you're looking for.

I don't think you'll have much success with your current approach.

-----
> X-Original-To: dbibbens@xxxxxxxxxx
> Date: Sun, 30 Mar 2003 16:04:10 -0500
> From: Gan Uesli Starling <alias@xxxxxxxxxxx>
> User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.2.1) Gecko/20021224
> X-Accept-Language: en-us, en
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Sender: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> X-MailLoop: 1
> 
> I have templates like so...
> 
> <xsl:template match="head">
>    <head>
>      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>      <xsl:apply-templates select="title"/>
>      <meta name="author" content="Gan Uesli Starling"/>
> 
>    ...and so on...
> 
> </xsl:template>
> 
> ...but the output looks like so...
> 
> <head>
>    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
>    <xsl:apply-templates select="title">
>    <meta name="author" content="Gan Uesli Starling">
> 
> ...such that the closing slashes are gone. So the XHTML will
> not validate. I am using Xalan for this.
> 
> How may I fix that, please?
> 
> Thanks,
> 
> Gan
> -- 
> 
>   Mistera Sturno - Rarest Extinct Bird
> 
>   <(+)__       Gan Uesli Starling
>    ((__/)=-    Kalamazoo, MI, USA
>     `||`
>      ++        http://starling.us
> 
> 
>  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.