Hi,
i use an xml schema named "FatturaElettronica", the schema is this:
[drive.google.com]
The code i use is this:
The result is this:
[drive.google.com]
What is the method to add a prefix "p" to root "FatturaElettronica"???
I'm going crazy
i use an xml schema named "FatturaElettronica", the schema is this:
[drive.google.com]
The code i use is this:
FatEle is xmlDocument, description = FatturaElettronica NamSpace is xmlNamespace Node is dynamic xmlNode Node = FatEle.FatturaElettronica NamSpace..Name = "xsi" NamSpace..URI="[www.w3.org]; Add(Node..NamespaceDeclared,NamSpace) Node:schemaLocation..Value="[ivaservizi.agenziaentrate.gov.it] [www.fatturapa.gov.it]; Node:schemaLocation..Namespace=NamSpace NamSpace..Name = "ds" NamSpace..URI="[www.w3.org]; Add(FatEle.FatturaElettronica..NamespaceDeclared,NamSpace) NamSpace..Name = "p" NamSpace..URI="[ivaservizi.agenziaentrate.gov.it]; Add(FatEle.FatturaElettronica..NamespaceDeclared,NamSpace) FatEle.FatturaElettronica:versione="FPR12" "OTHER CODE TO ADD DATA" XMLSave(FatEle,sNomefile,XMLFormatting)
The result is this:
[drive.google.com]
What is the method to add a prefix "p" to root "FatturaElettronica"???
I'm going crazy