> Why not use a child element of the section containing its ID as an
> attribute?
I guess that would be the way to go. :-)
Thanks. Cheers,
Jed
Hussein Shafie writes:
> Jed Parsons wrote:
> >
> > Actually, I want to set this attribute differently in each
> > instance using an external application, and then prevent someone
> > using xxe (or other editor) from changing it.
> >
> > In this specific case, once a document has been written, I have a
> > program that assigns to each section an id number that is unique
> > across all my documents. I use this id label for constructing a
> > master index. Once the id is assigned, I don't want a later
> > editor to be able to change it accidentally.
> >
> > I don't think I can use #FIXED attributes for this (since they
> > have a single default value). Maybe I'll just have to make sure
> > my users behave themselves around my id tags. Or maybe I should
> > be going about my indexing differently...
>
> Why not use a child element of the section containing its ID as an
> attribute?
>
> If you give this child element a "display: none;" property in the
> CSS stylesheet, your users will not be able to see it in XXE and
> therefore to edit it (unless they switch to the tree view).
--
Jed Parsons | Industrial Light and Magic (415) 448-2974
use Curses;initscr;for(;;){$f=($f+10)%360;clear;grep(do{$i=$
_;for(($m,$n)=qw(cos sin)){s|.*|"int(($i-13)*$&($f*(atan2(1,
1)*4)/180))"|ee}addstr$m+11,$n+31,substr$s,$i,1},0..(length(
$s=unpack(qq'u',':2F5D)W, at
86YO=&AE<B!P97)L(&AA8VME<@')))-1);
CONFUSING: study each word & character; sleep 1 and refresh}