|
Subject: [xsl] XML access control by custom ID From: Jacobus Reyneke <jacobusreyneke@xxxxxxxxx> Date: Mon, 8 Mar 2010 21:41:52 +0200 |
Good day,
I am trying to create and use a separate filter XML file to use with a
source XML file. The filter XML will be a listing of my own ID's and
the rights that the target audience have on these elements. The idea
is this:
data.xml
<a some_attributes="xyz" my_id="1">
123
</a>
<b attribute="xxx" my_id="2">
ABC
</b>
access.xml
<administrator>
<read>
<1/>
<2/>
</read>
<write>
<1/>
<2/>
</write>
</administrator>
<anybody>
<read>
<1/>
</read>
</anybody>
accesscontrol.xsl using anybody as parameter
<the magic xslt that I'm looking for>
result.xml
<a access="read" some_attributes="xyz my_id="1">
123
</a>
Thanks,
Jacobus
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Display the number of rec, David Carlisle | Thread | Re: [xsl] XML access control by cus, Michael Ludwig |
| Re: [xsl] Display the number of rec, David Carlisle | Date | Re: [xsl] Processing node-sets in b, Liam R E Quin |
| Month |