Jump to content

Issue with creating a xsl for xml having namespace


This topic is 3050 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

    Hi everyone,

    I need your help about my xsl file: 

   When I open 2 files with FM, FM does not show data on the table. However, I have full table with data when I remove namespace of the first line of XML file. Please give me some hints about it. I also attach files for testing.

   My original xml file looks like: 



  And I wrote xsl


<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns="http://www.digicine.com/PROTO-ASDCP-CPL-20040511#">
<xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>

    <xsl:template match="/">
        <FMPXMLRESULT xmlns="
<!--  PropertyStrings -->
                <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="AnnotationText" TYPE="TEXT" />
                <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="IssueDate" TYPE="TEXT" />
                <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Issuer" TYPE="TEXT" />
                <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Creator" TYPE="TEXT" />
                <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ContentTitleText" TYPE="TEXT" />
                <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ContentKind" TYPE="TEXT" />

<!--  ReelList -->               



                          <xsl:for-each select="CompositionPlaylist">


                                  <COL><DATA> ......... </COL></DATA>











Link to comment
Share on other sites

This topic is 3050 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.