Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MaKSiNG

  1. MaKSiNG

    Checking that Mandatory Fields have been populated in a Form

    Hi All, I have done a search but could not find any useful results. I have used an XSLT to post the contents of a form to a Java Component for further processing. The form contains fields which are mandatory for the user to fill in. My question is how do I do this mandatory field checking in...
  2. MaKSiNG

    XSL Escape Character for Apostrophe

    Hi, Thanks for the suggestion but I get the same XML not well formed error. I didn't think the quotes could be interchangable quite as freely as that [smile] Any other ideas? Thx, MaKS
  3. MaKSiNG

    XSL Escape Character for Apostrophe

    Hi All, I am attempting to test for a string in the value of one of my XML elements. But this string in the XML is enclosed by apostrophes. My XSL line looks like: <xsl:if test="metadata/categories!='Life and Work Events'"> ... </xsl:if> Now this works for a string which is not enclosed in...
  4. MaKSiNG

    'OR' 'AND' Operands

    Can anybody see why: <xsl:when test="record/item/value='Backbone HR New Join Form' or record/item/value='New Position ' and record/item/value/item[value='ALL_Flexible_Form']"> works, but: <xsl:when test="record/item/value!='Backbone HR New Join Form' or record/item/value!='New Position '...
  5. MaKSiNG

    'OR' 'AND' Operands

    Thanks fpmurphy, That works a treat! I have another quick one. I need to do something like: test=("value!='Text1' or value!='Text2') and value='Text3'" So the test checks that a certain value node does not contain either 'Text1' or 'Text2' but a separate value node must contain 'Text3'...
  6. MaKSiNG

    'OR' 'AND' Operands

    Hi All, Can someone tell me how to do an <xsl:when> statement testing for one condition 'OR' another, as well as one condition 'AND' another? This is the gist of it but it obviously does not work: <xsl:choose> <xsl:when test="record/item/value='Text1' OR 'Text2' AND...
  7. MaKSiNG

    Calling another element by attribute value in same context?

    I have the following XML which define the options available to a radio button and which option is checked as default: <item name="options"> <value> <item name="description"> <value>Yes</value> </item> <item name="default"/> </value> <value> <item...
  8. MaKSiNG

    Submit Form Data to eMail

    Thanks for that. Is it possible to make my button, which bases on an image, into a submit-style button? Thx, MaKS
  9. MaKSiNG

    Submit Form Data to eMail

    Hi All, I am trying to submit data that I have collected in a form to an eMail. To do this I am using an image button: <img src="http://myimage.gif" name=btnSubmit id="btnSubmit" alt="Click here to submit feedback" style="CURSOR: hand" onClick="submitForm();" /> My form is defined as...
  10. MaKSiNG

    how do you submit form data to a person readable email?

    I know this is really old .... The 'enctype' works well for me, but I also see the submit action as part of the output of the form. I there anyway to prevent this event from being added to the results of the form? Also, is there a way to format the output yet further? TIA, MaKS Thx, MaKS
  11. MaKSiNG

    Simple HTML Table with 2 Columns

    Hi XMLers, I presume there must a really simple way of doing what I am trying to achieve but I am having some trouble getting my head around it. My XML is the following: <record> <item name="r_news"> <value> <item name="news_title"> <value>Here is the News Title</value> </item>...
  12. MaKSiNG

    Reference a further child Element from within 'for-each' select

    Great! Thanks again jel. Thx, MaKS
  13. MaKSiNG

    Reference a further child Element from within 'for-each' select

    jel, Not quite. This relates to the hyperlink question that you helped me with. What I have is the following: <record> <item name="linksheading"> <value>Design</value> </item> <item name="linkspara"> <value>Design Consultancy</value> </item> <item name="r_links">...
  14. MaKSiNG

    Build 'a href' link from XML using XSL

    jel, That works a treat! Thanks for that. MaKS Thx, MaKS
  15. MaKSiNG

    Build 'a href' link from XML using XSL

    I have an XML file as follows: <record> <item name="c_link"> <value> <item name="link_linktext"> <value>Details</value> </item> <item name="link_linktarget"> <value>http://www.tek-tips.com/ </value> </item> <item...

Part and Inventory Search

Back
Top