Subject: Re: [xsl] XML access control by custom ID From: Jacobus Reyneke <jacobusreyneke@xxxxxxxxx> Date: Tue, 9 Mar 2010 09:15:30 +0200 |
Hi, I need implement access control rights on data using a separate XML access control data set. Here is a modified version for better clarity. If the data to be controlled is: <a some_attributes="xyz" my_id="1"> 123 </a> <b attribute="xxx" my_id="2"> ABC </b> and the access controlling information is (in a separate file): <administrator> <read> <my_id>1</my_id> <my_id>2</my_id> </read> <write> <my_id>1</my_id> <my_id>2</my_id> </write> </administrator> <anybody> <read> <my_id>1</my_id> </read> <write> <my_id>1</my_id> </write> </anybody> For this I need a stylesheet to filter and combine the data and access rights indicated by the access control data set. As an example, if I were to use the previous 2 xml files as input given a parameter of "anybody", then the resulting XML should look like: <a access="read; write" some_attributes="xyz" my_id="1"> 123 </a> Kind regards, Jacobus On Tue, Mar 9, 2010 at 12:17 AM, Michael Ludwig <milu71@xxxxxx> wrote: > Jacobus Reyneke schrieb am 08.03.2010 um 21:41:52 (+0200): > >> access.xml >> <administrator> >> <read> >> <1/> >> <2/> > > Invalid element names here. > > Also, I haven't understood what you're trying to achieve. A clearer or > more verbose specification might be in order. > > -- > Michael Ludwig
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XML access control by cus, Michael Ludwig | Thread | Re: [xsl] XML access control by cus, Michael Ludwig |
Re: [xsl] Display the number of rec, anil kumar | Date | [xsl] Reading and writing into the , Tom T |
Month |