Author Topic: got any xml gurus on here?  (Read 516 times)

  • Offline shofty

  • Posts: 847
  • Hero Member
got any xml gurus on here?
on: May 27, 2010, 16:32:49 PM
consider the following...

it doesnt work and im only trying to extract the refreshinterval. could do with an experienced pair of eyes, cos it doesnt fail, it just never pulls the variable, or if it does, it doesnt print it into the code. and i dont know enough to debug it.

xml feed
Code: [Select]

 
-
 
+
  RTPPM3/InternalPPM
 

-
 
 
 
 
  http://connect/Performance/PPM/PPMGuide.doc x
  92
-


xslt stylesheet
Code: [Select]



 
   
 



asp page glueing the two together.
Code: [Select]

<%
Load XML
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath("nxec_rtppm.xml"))

Load XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load(Server.MapPath("neweconly_rtppm.xslt"))

Transform file
Response.Write(xml.transformNode(xsl))
%>

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
got any xml gurus on here?
Reply #1 on: May 28, 2010, 11:39:23 AM
Im no tin a position to test this at the moment but I think its your XSLT. Try:

Code: [Select]

 
 
   
     
 


0 Members and 1 Guest are viewing this topic.