DX NetOps

 View Only

Spectrum REST device pull XSL transform

  • 1.  Spectrum REST device pull XSL transform

    Posted Feb 09, 2018 11:59 AM

    I am new to REST and XSL files. I am trying to get a device list from Spectrum and transform that to html for a web based report. I am using a rest client to pull the device list with the attributes I want no problem but am having difficulty writing the XSL file. I cannot seem to figure out how to reference the attributes in the XSL file when they are in the format of <attribute id="0x1006e">name</attribute>. Using <td><xsl:value-of select="attribute id='0x1006e'"/></td> isnt worlking.

     

    If it matters these systems have no internet connectivity so online schemas are of no use here.