Retrieve tranformed xml

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an XML webcontrol on my page that loads some xml and transforms it to HTML with an xsl souce. What property on the XML webcontrol can I use to retrieve the outputted HTML

Your help is greatly appreciated
 
you mean you have...

<asp:Xml DocumentSource="doc.xml" Runat="server" ID="XMLid"
TransformSource="yourXsl.xsl"></asp:Xml>

and nothing shows?
That means that your XML/XSL transormation is outputting nothing....

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


Fritz said:
I have an XML webcontrol on my page that loads some xml and transforms it
to HTML with an xsl souce. What property on the XML webcontrol can I use to
retrieve the outputted HTML?
 
Actually is does show but I would like to manipulate the output of the XML control in the code-behind...specifically, I would like to save the HTML to a database. I just can't find the property on the XML control that gives me the HTML output.
 
You can't use the asp:XML then.
I do something similar like this

string filePath = "c:\\path\\XML\\543.xml";
DataSet ds = new DataSet("xml_tag_name");
ds.ReadXml(filePath);

something along those lines

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


Fritz said:
Actually is does show but I would like to manipulate the output of the XML
control in the code-behind...specifically, I would like to save the HTML to
a database. I just can't find the property on the XML control that gives me
the HTML output.
 
I don't think that will do what I'm looking for. I wan't to take my xml source, transform it to html using an xsl source. Take the html output and save it to the database, not put it in a dataset. Is there a way to retrieve the HTML that is created when the xml is transformed?
 
look at the XML object, as opposed to the XML CONTROL.
I think you will find all you need with it.
System.Data.XML (iirc)

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


Fritz said:
I don't think that will do what I'm looking for. I wan't to take my xml
source, transform it to html using an xsl source. Take the html output and
save it to the database, not put it in a dataset. Is there a way to
retrieve the HTML that is created when the xml is transformed?
 
Back
Top