passing array-like information to XSLT
"Alex Iskold" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | adaptiveblue |
| Message-ID | <[email protected]> |
Hi we have the following problem. We have an XML document which looks like this: <items> <item> <item> ... </items> We are currently transforming this document using XSLT in Mozilla and now need to pass additional information, namely the keys for each item. It does not seem like we can pass an array as an argument to the stylesheet, it also does not seem like we can pass more than one XML document. So it looks like our options are: 1) Create new XML document and stick the key information in each item 2) Pass the keys as a string and split them inside XSLT Is there a cleaner way of doing this? Thank you, Alex -- alex iskold founder & cto http://www.adaptiveblue.com