<form name=form1 runat=server>
CRIAR XML : <P> <BR>
PAI <asp:TextBox id=pai runat=server/> <br>
FILHO <asp:TextBox id=filho runat=server/> <br>
ATRIBUTO <asp:TextBox id=atributo runat=server/>
<P>
<asp:Button id=txtprimeiro onClick="clicar" text="Criar XML" runat=server />
</form>
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Xml" %>
<html>
<script runat="server">
void clicar (Object Sender, EventArgs e )
{
String mpai = pai.Text;
XmlDocument doc = new XmlDocument();
XmlElement raiz = doc.CreateElement(mpai);
doc.AppendChild(raiz);e mais codigos abaixo, enfim ... mas não to conseguindo pegar o conteudo digitado em pai.text
String mpai = pai.Text; // nesta linha XmlElement raiz = doc.CreateElement(mpai);
alguem sabe como
[] s
Fernando.










