|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: trouble getting at node
> From: dan@xxxxxxxxxxxxx
> 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 {@Name}. 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








