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 SkipVought 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
  • 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

    Love your work, dianal. Thank you!!
  3. 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>...
  4. 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...
  5. 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...
  6. tokoh

    I have XSL file that applies stylin

    Hi, I have a question that follows on from this thread. Above GiffordS wrote.... You do have to be careful trying to use XSL in your scripts where you try to assign values to objects that would require a &quot;&quot; around the value. You may have to use escape characters to get the referrence...
  7. tokoh

    XSL - finding if an element exists?

    Manx, Thanks mate!! You are a star!! Tokoh
  8. tokoh

    XML Editor

    Angel2228, We recently did an analysis of XMLSpy, Turbo XML, XML Notepad and XML Authority for the needs of one of our clients. We determined that for their needs XMLSpy was hte most user friendly editor. They are using it for XML, schema, and XSL development. The next best was XML Authority.
  9. tokoh

    IE 5 XSL transform failing

    Voodoo Boy, We have been having the same problem all week. Initially, we downloaded MSXML 3.0 but it still did not work. Then we realised we had not installed the new version in replace mode, so we were effectively still running the old version. To install MSXML 3.0 SP1 in replace mode run...
  10. 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...
  11. tokoh

    XSL parameter passing from ASP

    Try this.......... <xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;> Also, can you have: <xsl:if match=&quot;.[NAME = $myatom]&quot;> I always thought it had to be: <xsl:if test=&quot;.[NAME = $myatom]&quot;>
  12. tokoh

    Logical operation in xsl:template[@match] ?

    You could do something like this; <xsl:if test=&quot;node[@att1='v1']&quot;> <xsl:if test=&quot;node[@att2='v2']&quot;> </xsl:if> </xsl:if>
  13. 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