Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a php array to xslt

Status
Not open for further replies.

joseppic

Programmer
Nov 21, 2002
7
GB
I am a bit of a novice at xslt.

I would like to pass a list of data I have in a php array into my xslt so that I can compare elements of the array with a sequence of XML (this is actually so I can have a DDLB which has some selected elements in it).

On the xslt side, can it handle such a variable as an xsl:param?

How do I access the individual elements/traverse the array?
What would the xsl:for-each look like?

Thanks,

Joseppic.
 
This seems like a question that lies outside of the scope of the PHP forum.
If you are asking how to access the elements of an array in PHP, then we can help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top