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 =...
give this a try.
[code]<xsl:template match="IDX">
CREATE UNIQUE INDEX <xsl:value-of select="./@NAME" /> on
<xsl:value-of select="../TABLE[@name]"/> (
<xsl:apply-templates select="../ITEM"/> );
</xsl:template>
<xsl:template match="ITEM">...
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.
"Until you have the courage to lose sight of the shore, you will not know the terror...
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="1.0" ?>
<Response>
<ReturnData>
<data>1 2.1 3.5 4 6...
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 =...
i'm not sure about the XML you were using. my example works with this bit:
<?xml version="1.0" ?>
<page>
<row>
<age>21</age>
<fname>bob</fname>
<lname>smith</lname>
</row>
<row>
<age>18</age>
<fname>sally</fname>
<lname>noname</lname>
</row>
</page>...
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...
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.