This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Saving entire xml-Structures in a single variable
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Saving entire xml-Structures in a single variable
- From: "Roman Huditsch" <r dot huditsch at hico dot com>
- Date: Wed, 11 Jul 2001 13:13:37 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi there!
I'm working currently on a project which relies very much on the new
XForms- WD in combination with XSL. There is an element in the
XForms-Syntax called "xform:instance", which holds an entire
XML-structure.
EX.:
<xform:instance>
<data>
<name/>
<lastname/>
<tel.number/>
<birthdate>
<day/>
<month/>
<year/>
</birthdate>
</data>
</xform:instance>
Ok, my problem now is that I would like to take this structure between
the <instance>- Tags und store it in a variable within my stylesheet.
But I can't think of a way to give out the contained element-names.
The content of the variable should at the end look like this:
$i
{<data><name/><lastname/><tel.number/><birthdate><day/><month/><year/></
birthdate></data> }
I tried it with a simple <xsl:copy-of select="......"> but this command
just gives me the text-content back, which is in that case null.
Could you please help me??
Yours,
Roman
> Roman Huditsch (RH )
> _____________________________________________________________________
> hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> TechLab, Thomas A. Edison Straße 2.
> A-7000 Eisenstadt / Austria
> phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10
> e-mail:support@hico.com; r.huditsch@hico.com
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list