ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

Re: output unterminated tags

Subject: Re: output unterminated tags
From: bix_xslt@xxxxxxxxxxx
Date: Sat, 5 Apr 2003 11:50:45 -0600
lt html
Jim,

This is a common problem for those of us who have just started delving into
XML.  What may be beneficial for you is if you could provide a sample XML
and XSLT sheet so that those of us on the list can show you how to work with
the XSL language.  I have a feeling that you need to shift your viewpoint
from a pure html line by line thought process into a more functional
programming viewpoint.  By providing the samples, we'll be able to help you
see how to use the XSL in a better manner.

Any time you need to output a particular type of element, such as 'tr', you
want the xsl processor to create an html node or element.  Using CDATA as
you have shown below creates a string that looks like a node element, but
only after the HTML has been processed (as you have seen with your output).
The way I typically do this is think about my problem in this manner:

make the table tag,
   for every row I need,
      add a start tr tag,
        apply all the templates for the individual td tags
      end the tr tag
   end the for each
end the table tag

Hopefully that makes some sense.  Again, providing the xml and xslt would
allow us to help you more.
bix




----- Original Message -----
From: "jm" <mailinglist@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, April 05, 2003 11:38 AM
Subject:  output unterminated tags


> hi all,
>
> i want to output unterminated tags with my xslt-stylesheet
> for (html)table-construction.
>
> so i want to be able to print just
>
> <tr>
> or
> </tr><tr>
> or
> </tr>
>
> i tried it with <![CDATA[<tr>]]> but this put just
>
> &lt;tr&gt;
>
> in my html-file
>
> thanks
> jm
>
>  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
  • output unterminated tags
    • jm - Sat, 5 Apr 2003 12:16:47 -0500 (EST)
      • bix_xslt - Sat, 5 Apr 2003 12:47:16 -0500 (EST) <=
        • jm - Sat, 5 Apr 2003 13:30:57 -0500 (EST)
      • Michael Kay - Sat, 5 Apr 2003 14:31:57 -0500 (EST)

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.