[xsl] import entire tags

Subject: [xsl] import entire tags
From: Johannes.Becker@xxxxxx
Date: Fri, 17 Jan 2003 12:32:13 +0100
Hi,

I have for example an xml-file:

...
<hello>
      <option value="1">yo1</option>
      <option value="2">yo2</option>
      <option value="3">yo3</option>
      ...
</hello>
...

And I want to import the entire <option>-tags (<option value
="1">yo1</option>) in my xsl.
Is this possible without using <xsl:atrribute>?

For example the xsl:
<select name="hello>
      <xsl:for-each select="hello">
            <xsl:value-of select="The entire option tag without using
xsl:atrribute"/>
      </xsl:for-each>
</select>

so I get an output like this:
<select name="hello>
      <option value="1">yo1</option>
      <option value="2">yo2</option>
      <option value="3">yo3</option>
      ...
</select>

Is this possible in one tag?

Thanks
Jonny
----------------------------------------------------------------------------------------------------

This electronic message contains information from the mmo2 plc Group which
may be
privileged or confidential. The information is intended to be for the use
of the
individual(s) or entity named above. If you are not the intended recipient
be aware
that any disclosure, copying, distribution or use of the contents of this
information
is prohibited. If you have received this electronic message in error,
please notify
us by telephone or email (to the numbers or address above) immediately.




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread