Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9005009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:02:19+00:00 2026-06-16T01:02:19+00:00

could you help to get specific data from below XML. i need below field

  • 0

could you help to get specific data from below XML.

i need below field from relational nodes,

Thanks for your help !

tva:ProgramInformationTable

tva:Title type=”main”
tva:Genre href=

tva:ProgramLocationTable

tva:PublishedStartTime

they have relation on crid=”………….”

<?xml version="1.0" encoding="utf-8"?>
<tva:TVAMain xmlns:tva="urn:tva:metadata:2005" xmlns:mpeg7="urn:tva:mpeg7:2005" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="tr">
  <tva:ProgramDescription>

    <tva:ProgramInformationTable>

      <tva:ProgramInformation programId="2471154983201212170000" ChannelName="13951" xmlns:tva="urn:tva:metadata:2005">
        <tva:BasicDescription>
          <tva:Title type="main"><![CDATA[Krem]]></tva:Title>
          <tva:Title type="original"></tva:Title>
          <tva:Title type="episodeTitle"></tva:Title>
          <tva:Title type="seriesTitle"></tva:Title>
          <tva:Synopsis length="short"><![CDATA[Mucizeler sadece masallarda mı olur?]]></tva:Synopsis>
          <tva:Synopsis length="long"><![CDATA[Desc]]></tva:Synopsis>
          <tva:Genre href="urn:etsi:cs:GenreEtsiCS:2009:1.0" />
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:9004">
            <tva:Name><![CDATA[Dizi]]></tva:Name>
          </tva:Genre>
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:9801">
            <tva:Name><![CDATA[Yerli]]></tva:Name>
          </tva:Genre>
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:1.7">
            <tva:Name><![CDATA[Dram]]></tva:Name>
          </tva:Genre>
          <tva:Language type="original" closed="true"><![CDATA[tr-TR]]></tva:Language>
          <tva:CaptionLanguage></tva:CaptionLanguage>
        </tva:BasicDescription>
        <tva:AVAttributes>
          <tva:System href="urn:engin:cs:VideoFormat:SD" />
        </tva:AVAttributes>
      </tva:ProgramInformation>

      <tva:ProgramInformation programId="2471051483201212170020" ChannelName="13951" xmlns:tva="urn:tva:metadata:2005">
        <tva:BasicDescription>
          <tva:Title type="main"><![CDATA[Dizi]]></tva:Title>
          <tva:Title type="original"></tva:Title>
          <tva:Title type="episodeTitle"></tva:Title>
          <tva:Title type="seriesTitle"></tva:Title>
          <tva:Synopsis length="short"><![CDATA[]]></tva:Synopsis>
          <tva:Synopsis length="long"><![CDATA[]]></tva:Synopsis>
          <tva:Genre href="urn:etsi:cs:GenreEtsiCS:2009:1.0" />
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:9004">
            <tva:Name><![CDATA[Dizi]]></tva:Name>
          </tva:Genre>
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:9801">
            <tva:Name><![CDATA[Yerli]]></tva:Name>
          </tva:Genre>
          <tva:Language type="original" closed="true"><![CDATA[tr-TR]]></tva:Language>
          <tva:CaptionLanguage></tva:CaptionLanguage>
          <tva:CreditsList>
            <tva:ReleaseInformation>
              <tva:ReleaseDate>
                <tva:Year></tva:Year>
              </tva:ReleaseDate>
            </tva:ReleaseInformation>
          </tva:CreditsList>
        </tva:BasicDescription>
        <tva:AVAttributes>
          <tva:System href="urn:engin:cs:VideoFormat:SD" />
        </tva:AVAttributes>
      </tva:ProgramInformation>

      <tva:ProgramInformation programId="2471155083201212170210" ChannelName="13951" xmlns:tva="urn:tva:metadata:2005">
        <tva:BasicDescription>
          <tva:Title type="main"><![CDATA[Unutulmaz]]></tva:Title>
          <tva:Title type="original"></tva:Title>
          <tva:Title type="episodeTitle"></tva:Title>
          <tva:Title type="seriesTitle"></tva:Title>
          <tva:Synopsis length="short"><![CDATA[Desc]]></tva:Synopsis>
          <tva:Synopsis length="long">
            <![CDATA[Desc]]>
          </tva:Synopsis>
          <tva:Genre href="urn:etsi:cs:GenreEtsiCS:2009:1.0" />
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:9004">
            <tva:Name><![CDATA[Dizi]]></tva:Name>
          </tva:Genre>
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:9801">
            <tva:Name><![CDATA[Yerli]]></tva:Name>
          </tva:Genre>
          <tva:Genre href="urn:engin:cs:GenreSectionCS:2009:1.7">
            <tva:Name><![CDATA[Dram]]></tva:Name>
          </tva:Genre>
          <tva:Language type="original" closed="true"><![CDATA[tr-TR]]></tva:Language>
          <tva:CaptionLanguage></tva:CaptionLanguage>        
        </tva:BasicDescription>
        <tva:AVAttributes>
          <tva:System href="urn:engin:cs:VideoFormat:SD" />
        </tva:AVAttributes>
      </tva:ProgramInformation>   

    </tva:ProgramInformationTable>

    <tva:ProgramLocationTable>

      <tva:ScheduleEvent xmlns:tva="urn:tva:metadata:2005">
        <tva:Program crid="2471154983201212170000" />
        <tva:PublishedStartTime>2012-12-17T00:00:00+02:00</tva:PublishedStartTime>
        <tva:PublishedEndTime>2012-12-17T00:20:00+02:00</tva:PublishedEndTime>
        <tva:PublishedDuration>PT00H20M00S</tva:PublishedDuration>
      </tva:ScheduleEvent>

      <tva:ScheduleEvent xmlns:tva="urn:tva:metadata:2005">
        <tva:Program crid="2471051483201212170020" />
        <tva:PublishedStartTime>2012-12-17T00:20:00+02:00</tva:PublishedStartTime>
        <tva:PublishedEndTime>2012-12-17T02:10:00+02:00</tva:PublishedEndTime>
        <tva:PublishedDuration>PT01H50M00S</tva:PublishedDuration>
      </tva:ScheduleEvent>


      <tva:ScheduleEvent xmlns:tva="urn:tva:metadata:2005">
        <tva:Program crid="2471155083201212170210" />
        <tva:PublishedStartTime>2012-12-17T02:10:00+02:00</tva:PublishedStartTime>
        <tva:PublishedEndTime>2012-12-17T03:50:00+02:00</tva:PublishedEndTime>
        <tva:PublishedDuration>PT01H40M00S</tva:PublishedDuration>
      </tva:ScheduleEvent>    

    </tva:ProgramLocationTable>




    <tva:ServiceInformationTable>
      <tva:ServiceInformation serviceId="ATV">
        <tva:Name>ATV</tva:Name>
      </tva:ServiceInformation>
    </tva:ServiceInformationTable>  



  </tva:ProgramDescription>
</tva:TVAMain>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:02:21+00:00Added an answer on June 16, 2026 at 1:02 am

    This can be a starting point.

    var xDoc = XDocument.Load(filename);
    XNamespace tva = "urn:tva:metadata:2005";
    
    var pi = xDoc.Descendants(tva + "ProgramInformation")
                .Select(p => new
                {
                    ProgramId = p.Attribute("programId").Value,
                    ChannelName = p.Attribute("ChannelName").Value,
                    Title = p.Descendants(tva+"Title")
                             .First(a=>a.Attribute("type").Value=="main")
                             .Value
                })
                .ToList();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do you think jquery could help me get the following script work faster? Thanks!
Could you help me get plugins working for either macvim or the terminal vim?
Could somebody please help me get Clang up and running? (I don't have 3.2)
Could you please help me to get image upload working on a view with
Could somebody help me.I would like to get substring of string by ant.For example
I was wondering if i could get some help. What i am trying to
I'm new here and I hope I could get some help with an Android
Could someone please help explain why I can't get this to work? I properly
I'm having a bit of a problem with moving specific data from one server
This code is used to get a specific list of ID's from one table,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.