|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML access control by custom ID
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








