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

Re: Adding/preserving explicit closing tag on empty el

Subject: Re: Adding/preserving explicit closing tag on empty elements
From: "B. Tommie Usdin" <btusdin@xxxxxxxxxxxxxxxx>
Date: Wed, 19 Feb 2003 13:48:41 -0500
xslt force closing tag
>From: "Mark Griffin" <cornbinder@xxxxxxxxxxxxx>
>To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>References: <a0510031cba7883bbecb9@[63.188.73.119]>
>Subject: Re:  Adding/preserving explicit closing tag on empty elements
>Date: Wed, 19 Feb 2003 08:11:21 -0700
>MIME-Version: 1.0
>Content-Type: text/plain;
>	charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook Express 6.00.2800.1106
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
>
>I'm using output method="xml" to get XHTML output and I have to use the
>following to force a closing tag on my SVG "image".  Try the same with your
><script> tag:
>
>...
>            <object type="image/svg+xml">
>               <xsl:attribute name="data">
>                  <xsl:value-of select="@PATH"/>
>               </xsl:attribute>
>
>               <xsl:attribute name="width">
>                  <xsl:value-of select="@WIDTH"/>
>               </xsl:attribute>
>
>               <xsl:attribute name="height">
>                  <xsl:value-of select="@HEIGHT"/>
>               </xsl:attribute>
>               <!-- The closing 'object' tag is necessary; a simple ' />'
>shows the .svg but inhibits
>                    display of anything else beyond the .svg display.
>                    xsl:text (a carriage return, here) is added to force
>ouput of the required 'object'
>                    closing tag. -->
>               <xsl:text>
></xsl:text>
>            </object>
>
>Regards,
>Mark G.
>
>
>----- Original Message -----
>From: "Mulberry Technologies List Owner"
><xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
>To: "xsl-list" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>Sent: Tuesday, February 18, 2003 5:44 PM
>Subject: RE:  Adding/preserving explicit closing tag on empty elements
>
>
>> >Subject: RE:  Adding/preserving explicit closing tag on empty
>elements
>> >Date: Tue, 18 Feb 2003 15:49:26 -0500
>> >From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
>> >To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>> >
>> >[Graham Hannington]
>> >
>> >> >How (I'm using Saxon, if it makes any difference) do I stop an XSLT
>> >> >processor from collapsing:
>> >> >
>> >> ><script src="style/default.vbs" language="VBScript"/></script>
>> >> >
>> >> >into
>> >> >
>> >> ><script src="style/default.vbs" language="VBScript"/>
>> >> >
>> >> >Is there some way to "sneak" a closing tag past the XSLT
>> >> processor, so
>> >> >that it appears in the output file?
>> >
>> >I tried it with MSXML3 and Saxon (I think it is v6.5.2), and both of
>> >them left the closing tag in the output document.
>> >
>> >Cheers,
>> >
>> >Tom P
>>
>>
>>
>>  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.