[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Contents of a
[xsl] Contents of a into an AVT?
Subject: [xsl] Contents of a <div> into an AVT?
From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
Date: Wed, 6 Aug 2003 12:06:38 -0400
Hello. I'm sure I'll phrase this incorrectly..but here goes.
building html table, my xsl contains:
<xsl:variable name="id">
<xsl:number level="multiple" count="step" format="1.1">
</xsl:variable>
<div id="Step_{$id}">
<xsl:value-of select="$id"/>
</div>
This results as desired:
<div id="Step_2.1 ">2.1 </div>
My question is: how to get either the div id ("Step_2.1") or div contents
("2.1") into a script parameter?
In my html, I have onclick="Javascript:newWin('here is where i need the
above', '{para}')"
The {para} give me the content of the <step> correctly.
I though {id} would work, but it remains blank.
Any clues?
Thanks.
Kat
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread
- [xsl] Contents of a <div> into an AVT?
- Kathy Burke - Wed, 6 Aug 2003 12:06:38 -0400 <=
- Marty McKeever - Wed, 6 Aug 2003 13:58:18 -0400
- <Possible follow-ups>
- cknell - Wed, 06 Aug 2003 13:48:05 -0400
- Kathy Burke - Wed, 6 Aug 2003 14:13:57 -0400
- Américo Albuquerque - Thu, 7 Aug 2003 01:13:01 +0100
<- Previous Index Next ->
RE: RE: [xsl] very Simple nested fo, cknell
Thread
RE: [xsl] Contents of a <div> into , Marty McKeever
RE: [xsl] selecting everything belo, Jorg Heymans
Date
RE: [xsl] very Simple nested for ea, cknell
Month
Keywords
Subject: [xsl] Contents of a <div> into an AVT? From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx> Date: Wed, 6 Aug 2003 12:06:38 -0400 |
Hello. I'm sure I'll phrase this incorrectly..but here goes. building html table, my xsl contains: <xsl:variable name="id"> <xsl:number level="multiple" count="step" format="1.1"> </xsl:variable> <div id="Step_{$id}"> <xsl:value-of select="$id"/> </div> This results as desired: <div id="Step_2.1 ">2.1 </div> My question is: how to get either the div id ("Step_2.1") or div contents ("2.1") into a script parameter? In my html, I have onclick="Javascript:newWin('here is where i need the above', '{para}')" The {para} give me the content of the <step> correctly. I though {id} would work, but it remains blank. Any clues? Thanks. Kat XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: RE: [xsl] very Simple nested fo, cknell | Thread | RE: [xsl] Contents of a <div> into , Marty McKeever |
RE: [xsl] selecting everything belo, Jorg Heymans | Date | RE: [xsl] very Simple nested for ea, cknell |
Month |
Keywords
Products
Features
Resources
Support
Oxygen XML on Facebook
Follow
Oxygen XML on Twitter
Oxygen XML Web Feed
Oxygen XML
Blog
Oxygen XML Youtube Channel
© 2002-2022 SyncRO Soft SRL. All rights reserved.
This website was created & generated with <oXygen/>®XML Editor