|
Subject: RE: [xsl] Saving entire xml-Structures in a single variable From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 11 Jul 2001 12:32:36 +0100 |
> <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.
<xsl:variable name="xf" select="//xform:instance/*"/>
<xsl:copy-of select="$xf"/>
should work fine.
Mike Kay
Software AG
> 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.
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Saving entire xml-Structures , Roman Huditsch | Thread | RE: [xsl] Saving entire xml-Structu, Roman Huditsch |
| RE: [xsl] xsl:sort and xsl:key, Michael Kay | Date | [xsl] Re: Saving entire xml-Structu, Dimitre Novatchev |
| Month |