473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Using XMLCompiled Transform with asp.net server side controls

Hi,
I have created an xsl document containing html client side controls and when I used my XSLCompileTransform class it successfully created an xhtml page.

I then changed the client side controls to asp.net2 server side controls and changed the xsl document accordingly. However now my XSLCompileTransform class rejects the style sheet saying -

"System.Xml.Xsl.XslLoadException was caught
LineNumber=56
LinePosition=20
Message="XSLT compile error.""

It does not like the server side control

I have put my xsl code below and I would be really grateful if someone could help me.

Many thanks in advance,

Polly Anna

Expand|Select|Wrap|Line Numbers
  1. <form id="frmFoo" runat="server" action ="SelectApplicant.aspx" method ="post" target ="_self" >
  2.  
  3. ******* line 56 is the one below ********
  4.  
  5.                   <asp:ListBox ID="lstApplications" runat="server" CssClass="TextArea" Style="z-index: 103">
  6.  
  7.                     <xsl:for-each select="NewDataSet/Table/AdviceId">
  8.  
  9.                       <asp:ListItem>
  10.                         <xsl:attribute name="value">
  11.                           <xsl:value-of select="."/>
  12.                         </xsl:attribute>
  13.                         <xsl:value-of select="."/>
  14.                         -  <xsl:value-of select="../AdviceDate"/>
  15.                         -  <xsl:value-of select="../Advisor_Name"/>
  16.                         -  <xsl:value-of select="../Advisor_Add1"/>
  17.                         -  <xsl:value-of select="../AppId"/>
  18.                         -  <xsl:value-of select="../Applicant_Name"/>
  19.  
  20.                       </asp:ListItem>
  21.                     </xsl:for-each>
  22.                   </asp:ListBox>
  23.  
  24. </form>
Aug 4 '06 #1
0 1444

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Pat | last post by:
Is anyone using XML instead of HTML for pages of content? If so is there a public site to browse? Can someone point me to a discussion of the pros and cons of doing this? I am trying to get a...
5
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
0
by: KathyB | last post by:
Hi, I would be grateful for any guidance in how to achieve the following. I have an aspx page in which I transform an xmlDocument instance to the browser...so (as I understand it) that page...
4
by: | last post by:
Hello Guys, I am using the validation controls to validate my data. But the problem is "The page is still being posted to server". I want to get rid of the round trips to server. Are there...
7
by: Lau Lei Cheong | last post by:
Hello, I'm using javascript's insertAdjacentHtml() to insert images to the webform at runtime. This runs fine(image successfully displayed at the browser) but when I tried to access the...
5
by: Dennis Fazekas | last post by:
Greetings, I am creating a web form which will all the user to add an unlimited number of email addresses. Basically I have 3 buttons, "Add Another Email", "-" to remove, and a "Save" button....
4
by: dawnerd | last post by:
Hi, I have a question that a friend was asking me a few minutes ago. Is it better to transform XSL on the client side, or let the server handle it? Or both, ensuring that everyone can view the...
13
by: Toby Newman | last post by:
I started learning XML on Monday. I have an XML file and have written an XSL file to render it to HTML for formatted viewing in a browser. I'd like to create a second alternative view of the...
9
by: WT | last post by:
Hello, I have code created with .net 1.0 and migrated to 3.5. Form 2.0 the XslTransform class is obsolete and the vs2008 compiler generates warnings that these classes are absolete suggesting to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.