1 Reply Latest reply on Jun 18, 2013 3:44 PM by Jason_(A_Non)

    unable to Create XSL for the XML


      Hi All,

      I have an xml file which was created by oracle webcenter center (UCM), It is a data file.

      I am trying create a xsl for the same to display them in the tabular  format.

      But I was not able to loop through using

      <xsl:for-each select="wcm:root/ssGoToUrlMapList/wcm:row"> 


      Not sure what mistake I am doing.Below is the xml for which I am trying to create the xls.



      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      <wcm:root xmlns:wcm="http://www.stellent.com/wcm-data/ns/8.0.0" version="">

      <wcm:list name="urlMapList">


            <wcm:element name="uRL">url</wcm:element>

            <wcm:element name="ssOriginalAuthor">ch</wcm:element>

            <wcm:element name="ssCreateDate"/>



            <wcm:element name="uRL">url1</wcm:element>

            <wcm:element name="ssOriginalAuthor">ch1</wcm:element>

            <wcm:element name="ssCreateDate"/>








        • 1. Re: unable to Create XSL for the XML
          <xsl:for-each select="wcm:root/ssGoToUrlMapList/wcm:row"> 

          There is no node called "ssGoToUrlMapList" in your sample XML.


          You want

          <xsl:for-each select="wcm:root/wcm:list/wcm:row"> 

          though without seeing your full XSLT, I cannot be for certain.


          In order to receive an appropriate answer, you need to provide all the details, such as the XSLT and error, so that someone can duplicate and then resolve your issue.