Reading From Textpad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlicanHaman
    New Member
    • Aug 2008
    • 1

    Reading From Textpad

    Hi , i have a problem with reading data from a textpad.

    An example to the data is like PRI 3 ,
    Where PRI stands for priority.
    The problem is, i want to only read the data when the PRI tag is added.

    And the data shouldn't be read when only 3 or something else is written in textpad.

    Here is my current Xsl Code

    Code:
     
    <xsd:template match="PRIORITY">
    <FIELD>
    <FIELD_SEQ>
    1
    </FIELD_SEQ>
    <FIELD_DATA>
    PRI:
    <xsd:value-of select="."/>/
    </FIELD_DATA>
    </FIELD>
    </xsd:template>


    The problem with this is it reads even if PRI isn't added
    Hope you can help
Working...