OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XSL stylesheet help !

[ Lists Home | Date Index | Thread Index ]
  • From: Mike Smith <mike.smith@realtime.co.uk>
  • To: Han Chock Lee <clhan@gintic.gov.sg>, xml-dev@xml.org
  • Date: Wed, 12 Jul 2000 09:37:29 +0100



. . . use an attribute value template:

<input type="text" name="anyname" size="30" maxlength="50"
value="{anyElement}"/>

where "anyElement" is a child of the selected node in your input document.

OR, if you need to select a node outside that currently selected:

<input type="text" name="anyname" size="30" maxlength="50">
<xsl:attribute name="value">
<xsl:value-of select="//anyElement"/>
</xsl:attribute>

. . . where you construct your own path to "anyElement"


mike



-----Original Message-----
From: Han Chock Lee [mailto:clhan@gintic.gov.sg]
Sent: Wednesday, July 12, 2000 02:07
To: 'xml-dev@xml.org'
Subject: XSL stylesheet help !


	Hi,

	I am writing a stylesheet to get "anyname" to be filled in the input
text field tag
	< input type="text" name="anyname" size="2"/>.


	How can it be done in stylesheet ? Please help.




	Regards,
	CL





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS