[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML access control by custom ID

Subject: Re: XML access control by custom ID
From: Michael Ludwig <milu71@xxxxxx>
Date: Tue, 9 Mar 2010 22:34:35 +0100
Re:  XML access control by custom ID
Jacobus Reyneke schrieb am 09.03.2010 um 09:15:30 (+0200):
> 
> <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>

Well, and how do <administrator> and <anybody> come into play here?

-- 
Michael Ludwig

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.