Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Coloboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #18  
Antiguo 24-09-2008
Avatar de cirilungol
cirilungol cirilungol is offline
Miembro
 
Registrado: feb 2006
Posts: 42
Poder: 0
cirilungol Va por buen camino
Nada siento seguir dando la matraca, pero por lo menos veais lo que intento hacer, o lo que estoy haciendo con el DataBinding

parto de este xml

http://camilovi-heroes.com/gallery.xml


esto es lo que me genera el data Binding, lo solapo a un proyecto uniendo el pas creado, y busco la manera de asignarle otro gallery.xml que no es el original pero tiene la misma estructura.

encuentro esto en el pas del Data Binding

Código PHP:
Forward Decls }

  
IXMLTiltviewergalleryType = interface;
  
IXMLPhotosType = interface;
  
IXMLPhotoType = interface;

IXMLTiltviewergalleryType }

  
IXMLTiltviewergalleryType = interface(IXMLNode)
    [
'{419B47F1-8ED4-4F36-B5B7-27757DA445B7}']
    { 
Property Accessors }
    function 
Get_PhotosIXMLPhotosType;
    { 
Methods Properties }
    
property PhotosIXMLPhotosType read Get_Photos;
  
end;

IXMLPhotosType }

  
IXMLPhotosType = interface(IXMLNodeCollection)
    [
'{4915F1B3-F52E-410E-B03C-DC05C24BBA44}']
    { 
Property Accessors }
    function 
Get_Photo(IndexInteger): IXMLPhotoType;
    { 
Methods Properties }
    function 
AddIXMLPhotoType;
    function 
Insert(const IndexInteger): IXMLPhotoType;
    
property Photo[IndexInteger]: IXMLPhotoType read Get_Photo; default;
  
end;

IXMLPhotoType }

  
IXMLPhotoType = interface(IXMLNode)
    [
'{3B0E616B-38C0-4704-A2A0-4EB1EE1CF783}']
    { 
Property Accessors }
    function 
Get_ImageurlWideString;
    function 
Get_LinkurlWideString;
    function 
Get_ShowFlipButtonWideString;
    function 
Get_TitleWideString;
    function 
Get_DescriptionWideString;
    
procedure Set_Imageurl(ValueWideString);
    
procedure Set_Linkurl(ValueWideString);
    
procedure Set_ShowFlipButton(ValueWideString);
    
procedure Set_Title(ValueWideString);
    
procedure Set_Description(ValueWideString);
    { 
Methods Properties }
    
property ImageurlWideString read Get_Imageurl write Set_Imageurl;
    
property LinkurlWideString read Get_Linkurl write Set_Linkurl;
    
property ShowFlipButtonWideString read Get_ShowFlipButton write Set_ShowFlipButton;
    
property TitleWideString read Get_Title write Set_Title;
    
property DescriptionWideString read Get_Description write Set_Description;
  
end;

Forward Decls }

  
TXMLTiltviewergalleryType = class;
  
TXMLPhotosType = class;
  
TXMLPhotoType = class;

TXMLTiltviewergalleryType }

  
TXMLTiltviewergalleryType = class(TXMLNodeIXMLTiltviewergalleryType)
  protected
    { 
IXMLTiltviewergalleryType }
    function 
Get_PhotosIXMLPhotosType;
  public
    
procedure AfterConstructionoverride;
  
end;

TXMLPhotosType }

  
TXMLPhotosType = class(TXMLNodeCollectionIXMLPhotosType)
  protected
    { 
IXMLPhotosType }
    function 
Get_Photo(IndexInteger): IXMLPhotoType;
    function 
AddIXMLPhotoType;
    function 
Insert(const IndexInteger): IXMLPhotoType;
  public
    
procedure AfterConstructionoverride;
  
end;

TXMLPhotoType }

  
TXMLPhotoType = class(TXMLNodeIXMLPhotoType)
  protected
    { 
IXMLPhotoType }
    function 
Get_ImageurlWideString;
    function 
Get_LinkurlWideString;
    function 
Get_ShowFlipButtonWideString;
    function 
Get_TitleWideString;
    function 
Get_DescriptionWideString;
    
procedure Set_Imageurl(ValueWideString);
    
procedure Set_Linkurl(ValueWideString);
    
procedure Set_ShowFlipButton(ValueWideString);
    
procedure Set_Title(ValueWideString);
    
procedure Set_Description(ValueWideString);
  
end;

{ Global 
Functions }

function 
Gettiltviewergallery(DocIXMLDocument): IXMLTiltviewergalleryType;
function 
Loadtiltviewergallery(const FileNameWideString): IXMLTiltviewergalleryType;
function 
NewtiltviewergalleryIXMLTiltviewergalleryType

Pero desde la unidad Main no encuentro la funcion para poder decirle de que XMl ha de captar los datos.
Y tambien para variar recorrer ese gallery.xml y sacar todos los datos correctamente.

de veras que estoy mas perdido que un piojo en una calva.

Help please
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Comunicarse con WebServices miguel.benitez Internet 0 15-05-2008 02:10:22
Webservices y Apache para windows juanelo Internet 4 09-05-2008 17:56:36
Consulta Delphi 6, Delphi 2005 y Delphi 2006 Leviatan Varios 6 18-08-2007 16:02:08
Como compite o se integra Delphi vs Webservices n3mohack Varios 6 12-08-2006 00:22:29
XML-WebServices con Delphi Gonzalo Giraldo Internet 0 21-07-2004 02:47:32


La franja horaria es GMT +2. Ahora son las 20:44:16.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi