Altova Mailing List Archives

[xsl] separating elements/attributes

From: Samina Islam <samnaz123@--------->
Date: 8/21/2001 9:14:00 AM
Hi All!

I have this XML document that I am processing through
a XSL stylesheet.  (trying to convert it into PRISM). 
Some of the elements I'm using directly and some I'm
not using.  

My XML document looks like this:
 <article id="_23174907">
   <source>Washington Post</source> 
   <tagline /> 
   <time>Aug 11 2001 11:07PM</time> 
   <access_reg /> 
   <access_status /> 

In my XSL I'm using some of these elements.  this is
part of my stylesheet:

<xsl:template match="/*">
    <xsl:apply-templates select="article"/>
<xsl:template match="article">
 <rdf:Description> <xsl:attribute 

Now for all the "unused" elements/attributes, I want
to do something like this in my stylesheet:


... and so on for thoses I haven't specifically called

I know that I can write out each of these out (like i
did above), but is there some way of doing this w/out
specially using the names "tagline, access_reg, etc"? 
for all the "unused" elements I just want to put them
into a namespace called moreover.  

I hope that was clear.  



Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.