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

RE: Problem writing XSLT

Subject: RE: Problem writing XSLT
From: Mukul <mukulw3@xxxxxxxxx>
Date: Fri, 13 Jun 2003 23:41:35 -0700 (PDT)
writing xslt
I could write the correct XSL by changing this part to
select attribute names
<xsl:choose>
  <xsl:when test="$T='Columns'">
    <xsl:value-of select="@*"/>,
  </xsl:when>
  <xsl:otherwise>
    '<xsl:value-of select="."/>',
  </xsl:otherwise>
</xsl:choose>

Thanks for your help..

Regards,
Mukul


--- Mukul <mukulw3@xxxxxxxxx> wrote:
> Hi Jason,
>   Thanks for your help.. Sorry for late reply as I
> was
> testing it.. Your XSL is working fine.. except a
> small
> thing I want which I mentioned in my requirement..
> 
> It is generating SQL as 
> insert into table(LEVEL, TIME, TICKS, COMPONENT,
> SUBCOMPONENT, Datum, Datum)
> 
> But I want the column name from this part of XML
> <ENTRY type="ProcEntry">
>   <Datum name="Adapter">SA</Datum>
>   <Datum name="Method">ServiceabilityAgent</Datum>
> </ENTRY>
> 
> as Adapter and Method and not as Datum! .. *If
> somebody can tell how can I get the name of the
> attribute*, I can try modifying the XSL..
> 
> Regards,
> Mukul



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • RE: entity output, (continued)
    • Passin, Tom - Thu, 12 Jun 2003 16:18:34 -0400 (EDT)
      • Mukul - Thu, 12 Jun 2003 22:02:12 -0400 (EDT)
        • Jason - Fri, 13 Jun 2003 01:58:03 -0400 (EDT)
        • Mukul - Fri, 13 Jun 2003 23:47:20 -0400 (EDT)
        • Mukul - Sat, 14 Jun 2003 02:42:11 -0400 (EDT) <=

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.