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...
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
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...
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 '...
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'...
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...
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...
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...
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
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>...
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">...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.