xsl-list
[Top] [All Lists]

import entire tags

2003-01-17 04:32:13
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



<Prev in Thread] Current Thread [Next in Thread>