.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

unable to retrieve specific section in CDATA part of XML with the help of XPath in XSLT

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net


   I am unable to retrieve specific section in CDATA part of XML with the help of XPath in XSLT. How can i navigate into ?Frown

View Complete Post

More Related Resource Links

Xpath for CDATA Section



I am pretty sure you can't xpath the CDATA portion in xml string.

It is possible to read the below xml document's CDATA in to a string and convert the inner text (xml) into an xmldocument?

<book genre="novel" ISBN="1-861001-57-5">
	<title>Pride And Prejudice</title>
		<Licenses>			        <ManufactureDate>12/12/2000</ManufactureDate>


Real-World XML: Manipulate XML Data Easily with the XPath and XSLT APIs in the .NET Framework


XPath is emerging as a universal query language. With XPath, you can identify and process a group of related nodes in XML-based data sources. XPath provides an infrastructure that is integral to XML support in the .NET Framework. The XPath navigation model is even used under the hood of the XSLT processor. In this article, the author reviews the implementation details of the XPath navigator and the XSLT processor and includes practical examples such as asynchronous transformations, sorted node-sets, and ASP.NET server-side transformations.

Dino Esposito

MSDN Magazine July 2003

looking for a specific web part

I have seen a web part that displays an SSRS report with the parameters along the top.  What web part is this?  The report viwer web part displays them on the side which is undesireable for our customer.

Data form web part not displaying - Unable to display this Web Part. ....



I am designing a data form - adding some formatting etc.  I am able to see the webpart correctly in SPD split view, but when I trying to preview it, it gives me the following error

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.
ANy help would be welcome, I have spent a lot of time on this page and don't want to do it again.  THere are a lot of fields and it's a tedious process to move them to the correct location.  I am at my wits end, I am not sure how to debug this!!


Unable to Show Edit item Links in Data Form Web Part

I have a DFWP connected to custom list and the boxes to Show Edit Item Links, Show Delete item links and Show Insert Item links are grayed out so that they can not be checked. This works fine when I use a DFWP connected to a standard list (i.e., Contacts). Is there something special that needs to be done to activate this functionality?ThanksDean

How to hide the list ribbon in XSLT List View Web Part?

Hi, In SharePoint 2010, I have a custom list "Clients" on a site. On the home page of the site, I have added a Clients List Web Part. When I access the home page in a browser and click anywhere in that list, it displays the "List Tool" ribbon group which has "Items" and "List" ribbons. I do NOT want these ribbons at all when clicking on the list. How do I achieve this? Should I disable the click event on the list so these ribbons do NOT appear? How do I disable the click event on the list? Or What should I do to hide these ribbons when clicking on the list? Basically I want it to behave same as content query web part. In content query web part, if you click anywhere in it, it doesn't show up any extra ribbons. I want the same behavior with list web part. Thanks, Hitesh

Unable to store for xml Xpath result in a variable

HI ALL, Unable to store the results of xml  reults into a varible , it  throws an error declare   @r varchar(1000) set   @r =( WITH   XMLNAMESPACES (     'http://schemas.microsoft.com/analysisservices/2003/engine/2/2' as ddl2_2   , 'http://schemas.microsoft.com/analysisservices/2003/engine/2' as ddl2   ,'http://www.w3.org/2001/XMLSchema-instance' as xsi   ,'http://www.w3.org/2001/XMLSchema' as xsd ) select   DatabaseID "Object/DatabaseID" , CubeID "Object/CubeID" , MeasureGroupID "Object/MeasureGroupID" , PartitionID "Object/PartitionID" , DimensionID "Object/DimensionID" , ProcessType "Type" , WriteBackTableCreation "WriteBackTableCreation" , Parallel "parallel"   from #ega WHERE   ProcessingGroupID = 3 FOR   XML PATH('Process'))

how to write xslt in data view web part to display visifire charts

Hello All, I am writing xslt to display created by column in visifire charts. but it is not displaying chart. same code for displaying custom column is working fine but i dont know where i am going wrong in case of created by column. i put internal name also which is author for this column but no luck. below is the code i had used to display visifire chart. <xsl:text disable-output-escaping="yes">     <![CDATA[                     + ' <vc:DataPoint AxisXLabel="DTL3]]></xsl:text>   <xsl:text disable-output-escaping="yes"><![CDATA[" YValue="]]></xsl:text>     <xsl:value-of select="count(/dsQueryResponse/Rows/Row[normalize-space(@Author) = 'A'])"/>     <xsl:text disable-output-escaping="yes"><![CDATA[" LabelText="DTL3]]></xsl:text>     <xsl:text disable-output-escaping="yes"><![CDATA[" Exploded="False]]></xsl:text>     <xsl:text disable-output-escaping="yes"><![CDATA["/>']]></xsl:text> but the same code for different column name is working fine. please provide your inputs, where i am doing wr

unable set value of web part on page load for custom propeity


I am trying to set the property of the custom web part on page load. MOSS 2007

while accessing the custom property i am getting error. But can add the inbuilt property like ID , Border and other.

Unable to sort RSS feed in Web Part or SP Designer 2007

I have an RSS Moss 2007 webpart to display feeds from http://www.fujitsu.com/uk/news/pr/uk-news-pr-rss.rss but the feed is coming in reverse date order. In Sharepoint designer when I try to sort by pubDate (descending), the sort order is arbitrary and it appears that the feed is being limited in size with the latest post being some 3 years ago.

Any help would be appreciated.

Unable to load the package as XML because of package does not have a valid XML format. A specific XM


When I execute a DTSX (which was developed in BIDS 2005) in through

command prompt (on a server which only has SQL Server 2005 and SSIS 2005) using dtexec.exe against /File paramger, it was working perfectly fine.

However, I get the following error message after executing on a server which has SQL Server 2005 and SSIS 2005 & 2008.  Is it possible to execute a DTSX, which was developed in BIDS 2005, on a server that has both SSIS 2005 & 2008?  Please advise.  I often get the following error message in such case.  Thanks!


    "c:\Program Files\Microsoft SQL Server\90\DTS\Binn\dtexec" /FILE \\server123\DATA\AMP.dtsx /DECRYPT PassWordd > \\server123\DATA\output.txt

Error MSG:

     Microsoft (R) SQL Server Execute Package Utility
Version 9.00.4035.00 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

Started:  8:40:30 PM
Error: 2010-09-26 20:40:30.84
   Code: 0xC0011007
   Source: {0C157B60-C291-43ED-84A9-23F0DC7D5862}
   Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted.
End Error
Error: 2010-09-26 20:40:30.84

Unable to retrieve large amounts of data?


We're using WCF with 'basicHttpBinding', and have set the maxBufferSize, maxReceivedMessageSize to 99999999. We've also set the ReaderQuota maxArrayLength to 99999999.

The method I'm calling is supposed to return an array of objects with a couple containing a few small strings, and a couple of bools and integers. If the array is less than ~500 elements, I don't have a problem, and I receive all of my data. However if the array is of any meaningful size, then I get the following CommunicationException:

"The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error."

I'm thinking that I might need to retrieve the array's in manageable chunks, but before I start that rewrite process, I'd like to see if there would be a way to get this done.

error : Unable to retrieve folder information from the server. (550).


I now get this message in Visual Studio  2010;


error : Unable to retrieve folder information from the server. (550).


help please

Customising XSLT for Content Query Web part


We are using Report Library in SharePoint 2010. We need to display all the columns in the Report Library in this site collection as well as subsites as one list.

We are able to fetch only one column by adding the column name to custom properties column but we are not able to fetch all columns.


<property name="DataColumnRenames" type="string">KB_x0020_Title,Title;Product,Description</property>

<property name="CommonViewFields" type="string">KB_x0020_Title,Text;Product,Text;</property>

Any guidance on how to fetch all columns is appreciated.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend