Posted:
18-September-2008 19:20 One way would be to pass a literal nvp document as a data: url to the xrl: uri - <xsl:value-of select="document('xrl:assets+param@data:,%3Cnvp%3E%3Cassettype%3E{type}%3C/assettype%3E%3C/nvp%3E')/path" /> |
However, that might get tripped up if the value you pass in isn't xml-clean. A different possibility is to change your datastore_resources accessor to take netkernel's native "+name@value" arguments instead of url "?name=value" parameters wrapped up in a nvp document. So your external uri would be http://10.111.8.161:1070/ConfigStaging/datastore/assettypes+assettype@type |
and your xrl uri would be xrl:datastore_assettypes+assettype@type |
A possible issue with this is that various things (like xrl and dpml) may attempt to treat the value as a uri and source it instead of treating it as a literal value. This is one of nk's frustrating inconsistencies; you can usually get around that by making it a data: url. |