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

Re: strange <br/> tag [follow up]

Subject: Re: strange <br/> tag [follow up]
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Fri, 28 Mar 2003 14:41:00 -0700
br xmlns
Hello,
This is a follow up, and question.  Here is the output from my stylesheet
(just below 2nd qestion).
2nd Question:  how do you add line breaks to the transformation of the xsl?

[very bizzare...]
<body>
  girl leotards<a href="#" onclick="('48'); return false;"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">D</a><br
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">gymnast
leotards<a href="#" onclick="('49'); return false;"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">D</a><br
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">kid
leotards<a href="#" onclick="('50'); return false;"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">D</a><br
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">leotards<a href="#" onclick="('51'); return false;"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">D</a><br
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">

</body>

----- Original Message -----
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, March 28, 2003 2:00 PM
Subject:  strange <br/> tag


> Hello,
> I have a stylesheet that has <br/> command(s) in it (of course).  I
> transform an xml document persisted from an ado recordset with this
> stylesheet.  When I view the source, the <br/> tag looks like this:
>
> <br xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
> xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
> xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
>
> Weird!  What is going on?
> Karl
>
> XSL SOURCE:
> <!DOCTYPE xsl:stylesheet [
> <!ENTITY nbsp "&#160;">
> ]>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>       xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
>       xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
>       xmlns:rs="urn:schemas-microsoft-com:rowset"
>       xmlns:z="#RowsetSchema">
> <xsl:param name="table">EMPTY</xsl:param>
> <xsl:output method="html"/>
>
> <xsl:template match="/">
>  <xsl:apply-templates />
> </xsl:template>
>
>     <xsl:template match="rs:data/z:row">
>         <xsl:value-of select="@optkeyword"/>
>         <!-- delete link -->
>   <xsl:call-template name="makeUrl">
>          <xsl:with-param name="Display">D</xsl:with-param>
>          <xsl:with-param
name="jscript"><xsl:text>('</xsl:text><xsl:value-of
> select="@optovertureid"/><xsl:text>'); return
> false;</xsl:text></xsl:with-param>
>         </xsl:call-template>
>         <br/>
>     </xsl:template>
>
>     <xsl:template name="makeurl">
>     </xsl:template>
>
>    <xsl:template name="makeUrl">
>       <xsl:param name="Display"/>
>       <xsl:param name="jscript"/>
>      <a>
>    <xsl:attribute name="href">#</xsl:attribute>
>             <xsl:attribute name="onclick"><xsl:value-of
> select="$jscript"/></xsl:attribute>
>       <xsl:value-of select="$Display"/>
>         </a>
>     </xsl:template>
>
>   </xsl:stylesheet>
>
>
>
>  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.