[Gambas-devel] xslt
Charlie Reinl
Karl.Reinl at ...16...
Sat Mar 12 00:23:45 CET 2005
Salut,
send this mail, even if it is prematurity for my actual knowledge .
Listening the started discussion about xforms etc. on the list.
To know I like to work with the XML-structure, I use it to save my data, but I
will also use it to descript my gambas-forms.
I made a project to read in gambas forms and saved it to an XML structure.
see attached MySQLLogin-0.0.6.tar.gz and set the startup to CReadForm if not.
But I'm lazy, too lazy to write a code to transform that Form.xml to a gambas
form.
Why am I to lazy to do that? I hope to find the day where I need it, I can do
it with a style sheet who calls Gambia's Subs or Functions, which will do the
job for me, and for all Form.XML I need.
I did that in VB6 with msxml 3.x like
<xsl:for-each select="BUTTONS">
<xsl:for-each select="./BUTTON" >
<xsl:value-of select="processor:SETBUTTON(.)" >
</xsl:value-of>
</xsl:for-each>
</xsl:for-each>
processor:SETBUTTON(.) called in an class 'preprocessor' the function/sub
SETBUTTON with the node (.), where all rules for Buttons, and set this on the
form .
With am XML/XLS like that, you can design your project on an browser or in an
VB-project.
Actually I know the xlst from gambas can't do that.
So I need from Daniel Campos informations about the lib/libs used by the
xlst-component , to know if that what I want is possible with th lib used.
Amicalment
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MySQLLogin-0.0.6.tar.gz
Type: application/x-tgz
Size: 16097 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050312/e522803a/attachment.bin>
More information about the Devel
mailing list