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!

Recent content by Wiszh

  1. Wiszh

    xpath based on part of node-name ?

    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
  2. Wiszh

    xpath based on part of node-name ?

    Try <xsl:template match="[substring-after('//', '-')='para']"/> Good Luck
  3. Wiszh

    XML Attributes

    Any time. I learned this very lesson the hard way.
  4. Wiszh

    newbie...how to create xml, xsl documents

    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...
  5. Wiszh

    newbie...how to create xml, xsl documents

    If you are interested in creating dynamic pages you can try some asp or jsp or whatever to call the xsl and trasform on the fly. Good Luck
  6. Wiszh

    XML Attributes

    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...
  7. Wiszh

    XML Attributes

    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...
  8. Wiszh

    XML Attributes

    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
  9. Wiszh

    Reset focus to page?

    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
  10. Wiszh

    CF to excel question

    You can output a comma delimited text file which can be read by excel instead of a binary stream.
  11. Wiszh

    Workflow

    Biz talk server (from M$oft) can be tightly integrated with Sharepoint. However, be forewarned it costs a bundle.\ Good Luck
  12. Wiszh

    Apply a function to a result

    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
  13. Wiszh

    Apply a function to a result

    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...
  14. Wiszh

    CVS ActiveX control

    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
  15. Wiszh

    xml benefits

    Or if you later decide to make more than one output format.

Part and Inventory Search

Back
Top