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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MaKSiNG
  • Content: Threads
  • Order by date
  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 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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>...
  7. 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...
  8. MaKSiNG

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

    I have an XML file as follows: <record> <item name="linksheading"> <value>Design</value> </item> <item name="linkspara"> <value>Design Consultancy</value> </item> <item name="r_links"> <value> <item name="c_link"> <value>...
  9. MaKSiNG

    HTML Tags in XML

    Hi All, I have an XML file which contains HTML tags for formatting, eg. Bold, Paragraph, Lists, etc. These are displayed in the XML as Entity References, eg. &quot;& lt ;&quot; and &quot;& gt ;&quot; for opening and closing tags. I need this formating to remain, as the author of the content...

Part and Inventory Search

Back
Top