Radio button error while creating a component in XSL
Options
When using a radio button, if i select the second option or third option ..it is by-default giving me first option. wat should be modified below?
<Datum ID="D02" Type="RadioGroup" Name="Disease_type">
<Option Selected="false">
<Display>headache </Display>
<Value/>
</Option>
<Option>
<Display>cold </Display>
<Value/>
</Option>
<Option>
<Display>fever </Display>
<Value/>
</Option>
</Datum>
Getting the result using this
Disease Type:
<xsl:value-of select="/Properties/Data/Datum[@ID = 'D02']/Option[@Selected='true']"/>
0
Comments
-
<xsl:value-of select="/Properties/Data/Datum[@ID = 'D02']/Option[@Selected='true']"/>/Value
0 -
<xsl:value-of select="/Properties/Data/Datum[@ID = 'D02']/Option[@Selected='true']/Value"/>
I hope I'm not nitpicking!
regards,
Praveen
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.