Hi Martin,
I don't know how to add a namespace that is specific to the asp
control. At the top of my xsl style sheet I have a namespace added:-
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:output method="html" encoding="iso-8859-1"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Thank you for your help.
Kind regards,
Polly Anna
Martin Honnen wrote:
Quote:
polly.woodhouse@cefas.co.uk wrote:
>
>
Quote:
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.""
|
>
Quote:
<asp:ListBox ID="lstApplications" runat="server" CssClass="TextArea"
Style="z-index: 103">
|
>
Do you have a namespace declared for the prefix asp that you use here?
>
>
--
>
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
|