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 Graywolf001

  1. Graywolf001

    Checking the "grandparent" nodeName

    i'm doing this using the MSXML parser on IIS for ASP pages. this is a small example in VBScript of how you may be able to do what you're asking: dim rootNode ' doc element dim currNode ' node dim sGPnodeName ' grandparent node name set rootNode = objXML.documentElement set currNode =...
  2. Graywolf001

    how to display value of an attribute based on another attribute's valu

    give this a try. [code]<xsl:template match=&quot;IDX&quot;> CREATE UNIQUE INDEX <xsl:value-of select=&quot;./@NAME&quot; /> on <xsl:value-of select=&quot;../TABLE[@name]&quot;/> ( <xsl:apply-templates select=&quot;../ITEM&quot;/> ); </xsl:template> <xsl:template match=&quot;ITEM&quot;>...
  3. Graywolf001

    XML/XSL/HTML How can i display HTML stored in XML correct using XSL

    add one more thing to TholsaDhoum's suggestion: put the contents of the BLURB tag into a CDATA. i just tried it and it worked. i'm transforming the XML/XSL through MSXML 3.0 with ASP. hope this helps. &quot;Until you have the courage to lose sight of the shore, you will not know the terror...
  4. Graywolf001

    Using XSLT, how to get a certain token from a String list?

    there is a way to do what you're looking for. i made this example using ASP and the MSXML 3.0 parser doing just what flumpy said, creating a template that'll get the token values. the XML i'm using for this: <?xml version=&quot;1.0&quot; ?> <Response> <ReturnData> <data>1 2.1 3.5 4 6...
  5. Graywolf001

    FOR loop with xml

    i'm building a project using the MSXML parser on IIS for ASP pages. this is a small example in VBScript of how you may be able to do what you're asking: dim rootNode dim baseNode dim wireNode dim listNode dim nodeList dim strGauge dim strTurns dim strOut set rootNode =...
  6. Graywolf001

    using a variable select statement

    i'm not sure about the XML you were using. my example works with this bit: <?xml version=&quot;1.0&quot; ?> <page> <row> <age>21</age> <fname>bob</fname> <lname>smith</lname> </row> <row> <age>18</age> <fname>sally</fname> <lname>noname</lname> </row> </page>...
  7. Graywolf001

    How do I declare Non-sequential children elements?

    Hey all. First, let me say that I'm a total DTD newbie. However, I felt that DTD's were better suited for certain error validation than programmatic means on the site I'm currently building. The problem is, I need to explicitly declare every element returned to me in an XML doc. However, I...

Part and Inventory Search

Back
Top