• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Creating Read Only Text Box using XSL

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Iam new to XML and its associated technologies. Can someone please help me in disabling a text box using XSL ?

Thanks in advance

Cheers
Anirban
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What technology is being used to display this text box?
Where does XML and XSL get involved in displaying this text box?

Bill
 
Anirban Das
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill,
Basicaly XML and XSLT are being used to produce dynamic webpages. Java technology is used for the same.

What I want to do is based on some condition I would like to disable / grey out the text box that is being displayed against the field "NUMBER".

Basicaly the XML (also known as jobs configuration xml) follow the following DTD


===============================================================================

<?xml version="1.0" encoding="UTF-8"?>
<!--
The jobs root element contains all job definitions in the configuration.

Example configuration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jobs SYSTEM "jobConfiguration.dtd">
<jobs>
<job>
<id>changesubscriber</id>
<name>Modify Subscriber</name>
<type>sihlr</type>
<version>all</version>
<token>1100000000000800031</token>
<jobitems>
<jobitem required="true">
<id>jkey</id>
<name>Choose what Key you wish to use</name>
<description>Choose a KEY</description>
<type>option</type>
<options>
<option>
<value>IMSI</value>
<fpk>+KIMSI</fpk>
</option>
<option>
<value>IMEI</value>
<fpk>+KIMEI</fpk>
</option>
<option>
<value>URBAN-FLEET-MEMBER</value>
<fpk>+KURFLMEM</fpk>
</option>
</options>
</jobitem>
<jobitem>
<id>scchseed</id>
<name>SCCH Seed (0-60)</name>
<description>Secondary Control CHannelSCCH Seed</description>
<type>number</type>
<fpk>+SCCHSEED</fpk>
</jobitem>
<jobitem>
<id>keyurbanid</id>
<name>KEY Urban ID (0-1048575)</name>
<description>KEY Urban ID</description>
<type>deviceoption</type>
<devicefield>urbanid</devicefield>
</jobitem>
<jobitem>
<id>keyfleetid</id>
<name>KEY Fleet ID (1-1048575)</name>
<description>KEY Fleet ID</description>
<type>number</type>
</jobitem>
<jobitem>
<id>urbanid</id>
<name>Urban ID (0-1048575)</name>
<description>Urban ID</description>
<type>deviceoption</type>
<devicefield>urbanid</devicefield>
<fpk>+URBAN</fpk>
</jobitem>
<jobitem>
<id>fleetid</id>
<name>Fleet ID (1-1048575)</name>
<description>Fleet ID</description>
<type>number</type>
<fpk>+FLEET</fpk>
</jobitem>
<jobitem>
<id>homernc</id>
<name>HomeRNC (1-16777215)</name>
<description>Home Regional Network Code RNC</description>
<type>deviceoption</type>
<devicefield>homernc</devicefield>
<fpk>+HOMERNC</fpk>
</jobitem>
<jobitem>
<id>homedap</id>
<name>HomeDAP (15 digit number)</name>
<description>Home Dispatch Application Processor DAP</description>
<type>deviceoption</type>
<devicefield>homedap</devicefield>
<fpk>+HOMEDAP</fpk>
</jobitem>
<jobitem>
<id>scchsvc</id>
<name>SCCH Service</name>
<description>Secondary Control CHannelSCCH Service</description>
<type>option</type>
<fpk>+SCCHSVC</fpk>
<options>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
<option>
<value>active</value>
</option>
</options>
</jobitem>
<jobitem>
<id>keyimsi</id>
<name>KEY IMSI (15 digit number)</name>
<description>KEY International Mobile Subscriber Identifier IMSI</description>
<type>number</type>
</jobitem>
<jobitem>
<id>keyimei</id>
<name>KEY IMEI (15 digit number)</name>
<description>KEY International Mobile Equipment Identifier IMEI</description>
<type>number</type>
</jobitem>
<jobitem>
<id>keymemberid</id>
<name>KEY Member ID (1-1048576)</name>
<description>KEY Member ID</description>
<type>number</type>
</jobitem>
<jobitem>
<id>imsi</id>
<name>IMSI (15 digit number)</name>
<description>International Mobile Subscriber Identifier IMSI</description>
<type>number</type>
<fpk>+IMSI</fpk>
</jobitem>
<jobitem>
<id>imei</id>
<name>IMEI (15 digit number)</name>
<description>International Mobile Equipment Identifier IMEI</description>
<type>number</type>
<fpk>+IMEI</fpk>
</jobitem>
<jobitem>
<id>subactivation</id>
<name>Subscriber Activation</name>
<description>Subscriber Activation</description>
<type>option</type>
<fpk>+SUBACT</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<value>inactive</value>
</option>
</options>
</jobitem>
<jobitem>
<id>dispatchsvc</id>
<name>Dispatch Service</name>
<description>Dispatch Service</description>
<type>option</type>
<fpk>+DISPACT</fpk>
<options>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
<option>
<name>inactive destructive</name>
<value>inactiveD</value>
</option>
<option>
<value>active</value>
</option>
</options>
</jobitem>
<jobitem>
<id>memberid</id>
<name>Member ID (1-1048575)</name>
<description>Member ID</description>
<type>number</type>
<fpk>+MEMID</fpk>
</jobitem>
<jobitem>
<id>privatecallsvc</id>
<name>Private Call Service</name>
<description>Private Call Service</description>
<type>option</type>
<fpk>+PCSVC</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
</options>
</jobitem>
<jobitem>
<id>privatecallpriority</id>
<name>Private Call Priority</name>
<description>Private Call Priority</description>
<type>option</type>
<fpk>+PCPRIO</fpk>
<options>
<option>
<value>1</value>
</option>
<option>
<value>2</value>
</option>
<option>
<value>3</value>
</option>
<option>
<value>4</value>
</option>
<option>
<value>5</value>
</option>
<option>
<value>6</value>
</option>
<option>
<name>7 (Standard)</name>
<value>7</value>
</option>
<option>
<value>8</value>
</option>
<option>
<value>9</value>
</option>
<option>
<value>10</value>
</option>
<option>
<value>11</value>
</option>
<option>
<value>12</value>
</option>
<option>
<value>13</value>
</option>
<option>
<value>14</value>
</option>
<option>
<value>15</value>
</option>
</options>
</jobitem>
<jobitem>
<id>crossfleetsvc</id>
<name>Cross Fleet Service</name>
<description>Cross Fleet Service</description>
<type>option</type>
<fpk>+CRFLTSVC</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
</options>
</jobitem>
<jobitem>
<id>callalertsvc</id>
<name>Call Alert Service</name>
<description>Call Alert Service</description>
<type>option</type>
<fpk>+ALERTSVC</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
</options>
</jobitem>
<jobitem>
<id>inddispatchroaming</id>
<name>Individual Dispatch Roaming</name>
<description>Individual Dispatch Roaming</description>
<type>option</type>
<fpk>+DISPROAMING</fpk>
<options>
<option>
<value>home</value>
</option>
<option>
<value>everywhere</value>
</option>
</options>
</jobitem>
<jobitem>
<id>inddispatchlongdistcalling</id>
<name>Individual Dispatch Long Distance Calling</name>
<description>Individual Dispatch Long Distance Calling</description>
<type>option</type>
<fpk>+DISPLONGDISCALL</fpk>
<options>
<option>
<value>current</value>
</option>
<option>
<value>everywhere</value>
</option>
</options>
</jobitem>
<jobitem>
<id>groupcallsvc</id>
<name>Group Call Service</name>
<description>Group Call Service</description>
<type>option</type>
<fpk>+GROUPSVC</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
</options>
</jobitem>
<jobitem>
<id>initemergencysvc</id>
<name>Initiate Emergency Calls</name>
<description>Initiate Emergency Calls</description>
<type>option</type>
<fpk>+INITEMG</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
</options>
</jobitem>
<jobitem>
<id>abortemergencysvc</id>
<name>Abort Emergency Calls</name>
<description>Abort Emergency Calls</description>
<type>option</type>
<fpk>+ABORTEMG</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
</options>
</jobitem>
<jobitem>
<id>ntalkgroup</id>
<name>NEW Talkgroups ((1-255:1-255) X 255 tgs)</name>
<description>NEW Talkgroups / Modes 1- 255They can all be added here colen delemited</description>
<type>alphanumeric</type>
<fpk>+NTALKGROUP</fpk>
</jobitem>
<jobitem>
<id>atalkgroup</id>
<name>ADD Talkgroups ((1-255:1-255) X 255 tgs)</name>
<description>ADD Talkgroups / Modes 1- 255They can all be added here colen delemited</description>
<type>alphanumeric</type>
<fpk>+ATALKGROUP</fpk>
</jobitem>
<jobitem>
<id>rtalkgroup</id>
<name>REMOVE Talkgroups ((1-255:1-255) X 255 tgs)</name>
<description>REMOVE Talkgroups / Modes 1- 255They can all be added here colen delemited</description>
<type>alphanumeric</type>
<fpk>+RTALKGROUP</fpk>
</jobitem>
<jobitem>
<id>packetdatasvc</id>
<name>Packet Data Service</name>
<description>Packet Data Service</description>
<type>option</type>
<fpk>+PDSVC</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
<option>
<name>inactive destructive</name>
<value>inactiveD</value>
</option>
</options>
</jobitem>
<jobitem>
<id>pdencryption</id>
<name>Packet Data Encryption</name>
<description>Packet Data Encryption</description>
<type>option</type>
<fpk>+ENCRYPTION</fpk>
<options>
<option>
<value>on</value>
</option>
<option>
<value>off</value>
</option>
</options>
</jobitem>
<jobitem>
<id>pdcompression</id>
<name>Packet Data Compression</name>
<description>Packet Data Compression</description>
<type>option</type>
<fpk>+COMPRESSION</fpk>
<options>
<option>
<value>on</value>
</option>
<option>
<value>off</value>
</option>
</options>
</jobitem>
<jobitem>
<id>nmnr_1</id>
<name>NEW Mobile Node Restriction IP 1</name>
<description>NEW Mobile Node Restriction List 1</description>
<type>alphanumeric</type>
<fpk>+NMNR1</fpk>
</jobitem>
<jobitem>
<id>nmnr_2</id>
<name>NEW Mobile Node Restriction IP 2</name>
<description>NEW Mobile Node Restriction List 2</description>
<type>alphanumeric</type>
<fpk>+NMNR2</fpk>
</jobitem>
<jobitem>
<id>nmnr_3</id>
<name>NEW Mobile Node Restriction IP 3</name>
<description>NEW Mobile Node Restriction List 3</description>
<type>alphanumeric</type>
<fpk>+NMNR3</fpk>
</jobitem>
<jobitem>
<id>nmnr_4</id>
<name>NEW Mobile Node Restriction IP 4</name>
<description>NEW Mobile Node Restriction List 4</description>
<type>alphanumeric</type>
<fpk>+NMNR4</fpk>
</jobitem>
<jobitem>
<id>nmnr_5</id>
<name>NEW Mobile Node Restriction IP 5</name>
<description>NEW Mobile Node Restriction List 5</description>
<type>alphanumeric</type>
<fpk>+NMNR5</fpk>
</jobitem>
<jobitem>
<id>amnr_1</id>
<name>ADD Mobile Node Restriction IP 1</name>
<description>ADD Mobile Node Restriction List 1</description>
<type>alphanumeric</type>
<fpk>+AMNR1</fpk>
</jobitem>
<jobitem>
<id>amnr_2</id>
<name>ADD Mobile Node Restriction IP 2</name>
<description>ADD Mobile Node Restriction List 2</description>
<type>alphanumeric</type>
<fpk>+AMNR2</fpk>
</jobitem>
<jobitem>
<id>amnr_3</id>
<name>ADD Mobile Node Restriction IP 3</name>
<description>ADD Mobile Node Restriction List 3</description>
<type>alphanumeric</type>
<fpk>+AMNR3</fpk>
</jobitem>
<jobitem>
<id>amnr_4</id>
<name>ADD Mobile Node Restriction IP 4</name>
<description>ADD Mobile Node Restriction List 4</description>
<type>alphanumeric</type>
<fpk>+AMNR4</fpk>
</jobitem>
<jobitem>
<id>amnr_5</id>
<name>ADD Mobile Node Restriction IP 5</name>
<description>ADD Mobile Node Restriction List 5</description>
<type>alphanumeric</type>
<fpk>+AMNR5</fpk>
</jobitem>
<jobitem>
<id>rmnr_1</id>
<name>REMOVE Mobile Node Restriction IP 1</name>
<description>Remove Mobile Node Restriction List 1</description>
<type>alphanumeric</type>
<fpk>+RMNR1</fpk>
</jobitem>
<jobitem>
<id>rmnr_2</id>
<name>REMOVE Mobile Node Restriction IP 2</name>
<description>Remove Mobile Node Restriction List 2</description>
<type>alphanumeric</type>
<fpk>+RMNR2</fpk>
</jobitem>
<jobitem>
<id>rmnr_3</id>
<name>REMOVE Mobile Node Restriction IP 3</name>
<description>Remove Mobile Node Restriction List 3</description>
<type>alphanumeric</type>
<fpk>+RMNR3</fpk>
</jobitem>
<jobitem>
<id>rmnr_4</id>
<name>REMOVE Mobile Node Restriction IP 4</name>
<description>Remove Mobile Node Restriction List 4</description>
<type>alphanumeric</type>
<fpk>+RMNR4</fpk>
</jobitem>
<jobitem>
<id>rmnr_5</id>
<name>REMOVE Mobile Node Restriction IP 5</name>
<description>Remove Mobile Node Restriction List 5</description>
<type>alphanumeric</type>
<fpk>+RMNR5</fpk>
</jobitem>
<jobitem>
<id>nhdr_1</id>
<name>NEW Host Domain Restriction IP 1</name>
<description>NEW Host Domain Restriction List 1</description>
<type>alphanumeric</type>
<fpk>+NHDR1</fpk>
</jobitem>
<jobitem>
<id>nhdr_2</id>
<name>NEW Host Domain Restriction IP 2</name>
<description>NEW Host Domain Restriction List 2</description>
<type>alphanumeric</type>
<fpk>+NHDR2</fpk>
</jobitem>
<jobitem>
<id>nhdr_3</id>
<name>NEW Host Domain Restriction IP 3</name>
<description>NEW Host Domain Restriction List 3</description>
<type>alphanumeric</type>
<fpk>+NHDR3</fpk>
</jobitem>
<jobitem>
<id>nhdr_4</id>
<name>NEW Host Domain Restriction IP 4</name>
<description>NEW Host Domain Restriction List 4</description>
<type>alphanumeric</type>
<fpk>+NHDR4</fpk>
</jobitem>
<jobitem>
<id>nhdr_5</id>
<name>NEW Host Domain Restriction IP 5</name>
<description>NEW Host Domain Restriction List 5</description>
<type>alphanumeric</type>
<fpk>+NHDR5</fpk>
</jobitem>
<jobitem>
<id>nhdr_mask_1</id>
<name>NEW Host Domain Restriction SubMask 1</name>
<description>NEW Host Domain Restriction Mask List 1</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>nhdr_mask_2</id>
<name>NEW Host Domain Restriction SubMask 2</name>
<description>NEW Host Domain Restriction Mask List 2</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>nhdr_mask_3</id>
<name>NEW Host Domain Restriction SubMask 3</name>
<description>NEW Host Domain Restriction Mask List 3</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>nhdr_mask_4</id>
<name>NEW Host Domain Restriction SubMask 4</name>
<description>NEW Host Domain Restriction Mask List 4</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>nhdr_mask_5</id>
<name>NEW Host Domain Restriction SubMask 5</name>
<description>NEW Host Domain Restriction Mask List 5</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>ahdr_1</id>
<name>ADD Host Domain Restriction IP 1</name>
<description>add hostIPAddr 1</description>
<type>alphanumeric</type>
<fpk>+AHDR1</fpk>
</jobitem>
<jobitem>
<id>ahdr_2</id>
<name>ADD Host Domain Restriction IP 2</name>
<description>add hostIPAddr 2</description>
<type>alphanumeric</type>
<fpk>+AHDR2</fpk>
</jobitem>
<jobitem>
<id>ahdr_3</id>
<name>ADD Host Domain Restriction IP 3</name>
<description>add hostIPAddr 3</description>
<type>alphanumeric</type>
<fpk>+AHDR3</fpk>
</jobitem>
<jobitem>
<id>ahdr_4</id>
<name>ADD Host Domain Restriction IP 4</name>
<description>add hostIPAddr 4</description>
<type>alphanumeric</type>
<fpk>+AHDR4</fpk>
</jobitem>
<jobitem>
<id>ahdr_5</id>
<name>ADD Host Domain Restriction IP 5</name>
<description>add hostIPAddr 5</description>
<type>alphanumeric</type>
<fpk>+AHDR5</fpk>
</jobitem>
<jobitem>
<id>ahdr_mask_1</id>
<name>ADD Host Domain Restriction SubMask 1</name>
<description>add hostMask 1</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>ahdr_mask_2</id>
<name>ADD Host Domain Restriction SubMask 2</name>
<description>add hostMask 2</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>ahdr_mask_3</id>
<name>ADD Host Domain Restriction SubMask 3</name>
<description>add hostMask 3</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>ahdr_mask_4</id>
<name>ADD Host Domain Restriction SubMask 4</name>
<description>add hostMask 4</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>ahdr_mask_5</id>
<name>ADD Host Domain Restriction SubMask 5</name>
<description>add hostMask 5</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>rhdr_ip_1</id>
<name>REMOVE Host Domain Restriction IP 1</name>
<description>removehostDomainRestListIP 1</description>
<type>alphanumeric</type>
<fpk>+RHDR1</fpk>
</jobitem>
<jobitem>
<id>rhdr_ip_2</id>
<name>REMOVE Host Domain Restriction IP 2</name>
<description>removehostDomainRestListIP 2</description>
<type>alphanumeric</type>
<fpk>+RHDR2</fpk>
</jobitem>
<jobitem>
<id>rhdr_ip_3</id>
<name>REMOVE Host Domain Restriction IP 3</name>
<description>removehostDomainRestListIP 3</description>
<type>alphanumeric</type>
<fpk>+RHDR3</fpk>
</jobitem>
<jobitem>
<id>rhdr_ip_4</id>
<name>REMOVE Host Domain Restriction IP 4</name>
<description>removehostDomainRestListIP 4</description>
<type>alphanumeric</type>
<fpk>+RHDR4</fpk>
</jobitem>
<jobitem>
<id>rhdr_ip_5</id>
<name>REMOVE Host Domain Restriction IP 5</name>
<description>removehostDomainRestListIP 5</description>
<type>alphanumeric</type>
<fpk>+RHDR5</fpk>
</jobitem>
<jobitem>
<id>rhdr_mask_1</id>
<name>REMOVE Host Domain Restriction SubMask 1</name>
<description>removehostDomainRestListSubmask 1</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>rhdr_mask_2</id>
<name>REMOVE Host Domain Restriction SubMask 2</name>
<description>removehostDomainRestListSubmask 2</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>rhdr_mask_3</id>
<name>REMOVE Host Domain Restriction SubMask 3</name>
<description>removehostDomainRestListSubmask 3</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>rhdr_mask_4</id>
<name>REMOVE Host Domain Restriction SubMask 4</name>
<description>removehostDomainRestListSubmask 4</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>rhdr_mask_5</id>
<name>REMOVE Host Domain Restriction SubMask 5</name>
<description>removehostDomainRestListSubmask 5</description>
<type>alphanumeric</type>
</jobitem>
<jobitem>
<id>pdbootsvc</id>
<name>Packet Data Boot Service</name>
<description>Packet Data Boot Service</description>
<type>option</type>
<fpk>+PDBOOT</fpk>
<options>
<option>
<value>active</value>
</option>
<option>
<name>inactive non-destructive</name>
<value>inactiveND</value>
</option>
<option>
<name>inactive destructive</name>
<value>inactiveD</value>
</option>
</options>
</jobitem>
<jobitem>
<id>mobilenodeipaddr</id>
<name>Mobile Node IP Address</name>
<description>Mobile Node IP Address</description>
<type>alphanumeric</type>
<fpk>+MOBILENODE</fpk>
</jobitem>
<jobitem>
<id>homeagentipaddr</id>
<name>Home Agent IP Address</name>
<description>Home Agent IP Address</description>
<type>text</type>
<fpk>+HOMEAGENT</fpk>
</jobitem>
<jobitem>
<id>securityparamindex</id>
<name>Security Parameter Index (xxxx-xxxx in hex)</name>
<description>Security Parameter Index</description>
<type>alphanumeric</type>
<fpk>+SECURITY</fpk>
</jobitem>
<jobitem>
<id>mobileipauthkey</id>
<name>Mobile IP Auth Key (32 digit alpha w/ dashes)</name>
<description>Mobile IP Authentication Key</description>
<type>alphanumeric</type>
<fpk>+MOBILEAUTH</fpk>
</jobitem>
<jobitem>
<id>ki</id>
<name>Authentication Key (32 digit alpha w/out dashes)</name>
<description>Authentication Key</description>
<type>alphanumeric</type>
<fpk>+KI</fpk>
</jobitem>
<jobitem>
<id>browsergatewayaddr</id>
<name>Browser Gateway IP Address</name>
<description>Browser Gateway Address</description>
<type>alphanumeric</type>
<fpk>+BGADDR</fpk>
</jobitem>
<jobitem>
<id>domainnamesysaddr</id>
<name>Domain Name System IP Address</name>
<description>Domain Name System Address</description>
<type>alphanumeric</type>
<fpk>+DNAMEADDR</fpk>
</jobitem>
<jobitem>
<id>comment</id>
<name>Comment (700 characters)</name>
<description>User can add a comment about the job</description>
<type>text</type>
</jobitem>
</jobitems>
<oldid>1100000000000100031</oldid>
</job>
</jobs>
-->
<!ELEMENT jobs (job*)>

<!--
A job defines what a particular transaction
It contains an id, name, optional description, type, version, token, jobitems and oldid.
Used in: jobs
-->
<!ELEMENT job (id, name, description?, type, version, token, jobitems, oldid) >

<!--
The id defines the id of the job.
Used in: job

Example:<id>changesubscriber_ihlr</id>
-->
<!ELEMENT id (#PCDATA)>

<!--
The oldid is for backward compatibility. It references the old numeric jobid.
This field will be depricated in the future.
Used in: job
-->
<!ELEMENT oldid (#PCDATA)>

<!--
The name as used in job is the name of the job. As used in jobitem it is the name of the jobitem.
The name in an option is the display value of the option.
Used in: job, jobitem, option
-->
<!ELEMENT name (#PCDATA)>

<!--
The description is the description of the job or jobitem.
Used in: job, jobitem
-->
<!ELEMENT description (#PCDATA)>

<!--
The type specifies the device type associated with a job or the type of jobitem.
Used in: job, jobitem

In jobitem, valid types are:
text, numeric, alphanumeric, boolean, note, option, deviceoption
-->
<!ELEMENT type (#PCDATA)>

<!--
The version specifies the device version associated with a job.
It can be either a specific version or "all" for all devices of a particular
type regardless of version.
Used in: job
-->
<!ELEMENT version (#PCDATA)>

<!--
The token field is for backward compatibility. It references the token id that allows
a user to execute this transaction. This field will be depricated in the future.
Used in: job
-->
<!ELEMENT token (#PCDATA)>

<!--
The jobitems element contains all the jobitems associated with a job.
Used in: job
-->
<!ELEMENT jobitems (jobitem*)>

<!--
A jobitem defines a field in a job. It can be specified as a required field using the
required attribute.
Used in: jobitems
-->
<!ELEMENT jobitem (id, name, description?, type, devicefield?, defaultvalue?, fpk?, options?)>
<!ATTLIST jobitem required (true|false) "false">

<!--
The fpk element defines an fpk entry for a jobitem or an option for a jobitem.
When used with a jobitem, the fpk line will include the entry when any value is
submitted for the jobitem. When used with an option, the fpk line will include
the entry if that specific value of the option is submitted for that jobitem.
Used in: jobitem, option
-->
<!ELEMENT fpk (#PCDATA)>

<!--
Options contain all the options for a jobitem of type option.
Used in: jobitem
-->
<!ELEMENT options (option*)>

<!--
An option specifies an option that a user has for a value to submit for a jobitem.
Currently, these are placed in dropdown lists for the user to select. The default
attribute flags the option as the default value to be displayed and submitted.
Used in: options
-->
<!ELEMENT option (name?, value, fpk?)>
<!ATTLIST option default (true|false) #IMPLIED>

<!--
The devicefield specifies which device field has the values for a jobitem of type
deviceoption.
Used in: jobitem
-->
<!ELEMENT devicefield (#PCDATA)>

<!--
The value is the data as it is submitted for provisioning on a transaction.
If no name element is specified, the value is also the display value.
Used in: option
-->
<!ELEMENT value (#PCDATA)>


<!ELEMENT defaultvalue (name?, value)>
=============================================================================
 
Sheriff
Posts: 28331
97
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have some XSLT code that is generating some HTML? (If it was in your previous post, I apologize for not seeing it, my eyes were glazing over with looking at all that XML.)

If so then here's the process you should follow:

1. Find out how to make a read-only text box in HTML.

2. Find the part of your XSLT that generates the text box.

3. Adapt it to make the text box read-only in the appropriate circumstances.

So, where are you up to in this process?
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Anirban,

You could have posted the XSL (;)) , rather than the XML.
Anyways ,follow the steps said by Paul Clapham.

Your XSL might be having the markup for the textbox HTML input component like the following

<input type="text" name="test"/>

Change it like the following
<input type="text" name="test" disabled/>
or
<input type="text" name="test" protected/>
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic