xsl-list
[Top] [All Lists]

[xsl] copy of specific elements

2008-08-18 02:34:49
Hi 
I have following XML file as bellow. The XML file has
12 elements.I will copy the last six  <element>
elements with the XSL stylesheet and display them some
where else on browser. Any idea how to do it?
Thanks for your hints
**********************

document document="wpc0988765_article">
 <elements>


  <element type="heading1">Ü1-1</element> 
  <element type="heading2">Ü2-1</element> 
  <element type="image" height="124" width="99"
/guid/40072267-8b46-2b10-cb8b- 
cdac5fcc49b8</element> 
  <element type="paragraph">P1</element> 
   <element height="215" width="185"
type="image">/guid/308f132c-c146-2b10-4e9a-fa9fc7356e83</element>

   <element type="paragraph"><P>P1-1 with Text</P>
<UL> <LI target="_blank">Link1
</A></LI></UL></element> 
   
  
   
  <element type="heading1">Ü1-2</element> 
  <element type="heading2">Ü2-2</element> 
  <element type="image" height="124" width="99"
/guid/40072267-8b46-2b10-cb8b-cdac5fcc4944</element> 
  <element type="paragraph">P1</element> 
   <element height="215" width="185"
type="image">/guid/308f132c-c146-2b10-4e9a-fa9fc7356e55</element>

   <element type="paragraph"><P>P1-2 with Text</P>
<UL> <LI target="_blank">Link1
</A></LI></UL></element> 
   
  
   
   
  </elements>
  <relatedlinks /> 
  <relatedfiles /> 
  </document> 


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--