creating an instance of a custom control in xslt?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I feel like this question has been half-answered on here for me a few
times, but I'm looking for a more complete solution.

I've got the results of a query being returned in XML and processed
with XSLT via XmlDocument and XslTransform in C#. It outputs a web
form. My problem is that I've got a Custom Control I'd like to place in
the middle of the form, with some parameter information fed from the
XML.

I've gone the path of forcing a parse of the output via
Page.ParseControl(), but my problem is that the Control needs its own
prefix. So, instead of <xsl:tag> or <asp:tag>, I've got <ucc:tag>,
which throws a parse error because the "ucc" namespace is undefined in
the parser.

I think the answer lies with XmlNamespaceManager, but I can't figure
out how to use that with XslTransform. Can someone point me in the
right direction? Is there an easier (X)path?

.



Relevant Pages

  • creating an instance of a custom control in xslt?
    ... I've got the results of a query being returned in XML and processed ... My problem is that I've got a Custom Control I'd like to place in ... which throws a parse error because the "ucc" namespace is undefined in ... out how to use that with XslTransform. ...
    (microsoft.public.dotnet.framework.aspnet)
  • vb.net xsltransform hangs with fxsl randomizeList template
    ... I have a VB.Net component that uses the XslTransform object. ... the XML in the VB.Net component, ... in a browser with a reference to the XSL template, ... Dim xslArg As XsltArgumentList = New XsltArgumentList ...
    (microsoft.public.dotnet.xml)
  • RE: Convert xml to csv
    ... >> One simple way is to use a style sheet to transform the XML into CSV using ... For info on XslTransform just search MSDN for XslTransform :-) ... To write the style sheet itself you'll need to get to grips with XSLT. ...
    (microsoft.public.dotnet.general)
  • RE: Convert xml to csv
    ... "James Mahoney" wrote: ... >>> One simple way is to use a style sheet to transform the XML into CSV using ... > For info on XslTransform just search MSDN for XslTransform :-) ... > To write the style sheet itself you'll need to get to grips with XSLT. ...
    (microsoft.public.dotnet.general)
  • Re: Storing objects in a session PHP 5.2.0
    ... The problem was with sing simple_xml I saw a few posts like this but I ... //Turn the xml into an object. ... //roleStatus message which will have a vale or true or false. ... This is a parse error and most likely not related to objects or ...
    (comp.lang.php)