It might, but I have never used the contains function so I can't say for sure. The contains function as-per the definition should do that, but you may have to work out the exact syntax.
Good Luck
You do not have to write an enite xml for each document if they are largely static. You can simply include some piece of xml in a jsp page and have the page run the transformation.
(There is a custom tag that will do it for you.)
Otherwise you will have to write an entire xml and tranform it...
temp.text
Might be your problem try temp.InnerText
I also recomend that you use
.selectSingleNode
rather than getElementsByTagName
because that uses real xpath.
You can also break out your variables and use the debugger to check their values. (To debug an asp page select process from the...
If you want to use VB for this the code would be something like:
node = xmlDoc.selectSingleNode("//SortBy/@order")
node.InnerText 'should contain the value of order
You should be able to insert that value into your query.
I am assuming that you have already pulled the xml document and loaded...
Try
To get the sort by tag use::
<xsl:value-of select="//SortBy"/>
To get the order attribute use:
<xsl:value-of select="//SortBy/@order"/>
(The // means search the document and wherever there is a node called SortBy pick it up. You can be more specific if necessary.)
Good Luck
You can use Javascript attached to the onchange event to move the focus to another control after the select has been changed
the code would be
document.form.control.focus();
adjusted to reflect your form and control.
Good Luck
Thanks, for your reply.
I realize that it can be performed as a two step process, but is there any way to do this in one step?
(I am trying to use c# XmlNode.selectNodes(xpath here) for this.
Thanks again
Wiszh
I am trying to select a series of attributes and apply a function to them:
For example
//row/@role
I want to apply the substring function to the role attribute. If I add it to the entire xpath then I only get one result
substring(//row/@role, '3')
If I apply the function to the attribute only...
Does anyone know of a CVS ActiveX control or dotnet app which displays the contents of a CVS repository. (I want to be able to allow the user to select some files and include their names in a report.)
Thanks
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.