xsl-list
[Top] [All Lists]

RE: trouble getting at node

2006-01-16 16:45:27
From: dan(_at_)streampad(_dot_)com

Thanks for the help. unfortuneately none of the example 
worked. I think it
may be b/c the xml has a parent element above Item:

Right, make the top-level template match="/MPL/Item".

Warning:  xsl:element : invalid name in jriver.php on line 16

This is your processor complaining about spaces in the element names in the
result tree.

Also, I would actually like to rename the elements in the result tree,
something like this:

As to renaming your elements, reordering them, etc, this is just what XSLT
is designed to do.

Substitute your desired names for {(_at_)Name}(_dot_)  Write templates matching 
each
element explicitly to handle them differently.  Check the FAQ and the fine
tutorials.

HTH,


-----------------------------------
Mike Haarman,
XSL Developer,
Internet Broadcasting Systems, Inc.

--~------------------------------------------------------------------
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>
--~--



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