I've this code (ds is a dataset) -- objdoc = New XmlDocument() objdoc.LoadXml(ds.GetXml.ToString()) objxsl = New XslTransform() objxsl.Load(Server.MapPath("transformationtemplate.xslt")) writer = New StringWriter() objxsl.Transform(objdoc.CreateNavigator, Nothing,
writer) TreeView1.TreeNodeSrc = writer.ToString() TreeView1.DataBind() writer.Close() -- i've take it here http://aspalliance.com/joteke/treeviewarticle/article.aspx it is for display hierarchical data with TreeView I've take the xslt file too. Now I've an
error my asp.net page The literal string "1Apparato gastrointestinale e metabolismo361Antiacidi .... .................was found. Literal strings are not allowed within this control. If I display the writer, I don't see the structure of the xslt, but all the
fields without structure. es. 1Apparato gastrointestinale e metabolismo361Antiacidi e antiulcera371Antispastici381Procinetici391Antiemetici e antinausea401 I think the correct structure is Apparato gastrointestinale e metabolismo361Antiacidi ecc.. Sorry for
the english help me Thanks Sandro
sbellantone
Member
35 Points
7 Posts
error transform
Jul 16, 2003 04:05 PM|LINK
joteke
All-Star
46284 Points
6896 Posts
ASPInsiders
MVP
Re: error transform
Jul 16, 2003 04:32 PM|LINK
Teemu Keiski
Finland, EU
sbellantone
Member
35 Points
7 Posts
Re: error transform
Jul 16, 2003 04:37 PM|LINK
joteke
All-Star
46284 Points
6896 Posts
ASPInsiders
MVP
Re: error transform
Jul 17, 2003 08:54 AM|LINK
Teemu Keiski
Finland, EU
joteke
All-Star
46284 Points
6896 Posts
ASPInsiders
MVP
Re: error transform
Jul 17, 2003 05:50 PM|LINK
Teemu Keiski
Finland, EU
sbellantone
Member
35 Points
7 Posts
Re: error transform
Aug 01, 2003 05:22 PM|LINK