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: tokoh
  • Content: Threads
  • Order by date
  1. tokoh

    Replacing with XSL

    I have an XML element that resembles the following; <AccountNumber>123456 7</AccountNumber> The value within the AccountNumber tag contains a space between the numbers (the 6 and 7 in the case above). I want to be able to use XSL to replace this whitespace with %20 so that I can place the...
  2. tokoh

    Dinstinct Values

    I have the following XML.... <movie> <title>Braveheart</title> <star>Mel Gibson</star> <studio>Universal</studio> <ticketsales>$700,000,000</ticketsales> </movie> <movie> <title>Payback</title> <star>Mel Gibson</star> <studio>Universal</studio>...
  3. tokoh

    Another quick question. I have t

    Another quick question. I have this XML. <Celebrity> <TVShow>The Crocodile Hunter</TVShow> <FirstName>STEVE</FirstName> <LastName>IRWIN</LastName> </Celebrity> I want to display the value of the FirstName and LastName element using XSLT, but I want to display it as a title eg. Steve...
  4. tokoh

    escaping characters

    Hi, I have a question .... If I want to place the CheckBoxName variable into the name and the CheckBoxValue variable into the value field of my checkbox, how do I use escape characters so as this work correctly??? <xsl:for-each select=&quot;//Holding&quot;> <xsl:variable...
  5. tokoh

    XSL - finding if an element exists?

    Hello, I am trying to convert some XML to HTML using XSL. One thing I want to be able to do is check to see if an element exists, and if so display its value, and if it does not exist display something like a dash (-). I know how to check if the element is empty but not if it exists within the...
  6. tokoh

    Using XSL to check if empty

    Using XSL how do I check to see if an element contains a value. I have tried <xsl:if test=&quot;string()&quot;/> and this does not work. I have tried <xsl:apply-template select=&quot;element&quot;/> and then <xsl:if test=&quot;node()=''&quot;/> and this does not work either. Any ideas??

Part and Inventory Search

Back
Top