Hi there,

Hope you can help out on this newby question

[1] I'm having a dtd with

<!ELEMENT inline-group EMPTY>
<!ATTLIST inline-group src CDATA #REQUIRED>

--> to be transformed to some XInclude kind of structure in 
processing (doesn't really matter, but gives clearer feel of what 
it is about I guess)


<!ELEMENT picture EMPTY>
<!ATTLIST picture
        src CDATA #REQUIRED
        alt CDATA #IMPLIED
        height CDATA #REQUIRED
        width CDATA #REQUIRED
 >


[2] I'ld like both elements to behave as documentResources so I 
had the following in the configuration *.xxe file

   <cfg:documentResources xmlns="">
     <cfg:resource path="//picture/@src" />
     <cfg:resource path="//inline-group/@src" />
   </cfg:documentResources>


[3] in the stylesheet is the only difference:

inline-group {
   display: block;
}
inline-group:before {
   content: "<inline-group src=\"" attr(src) "\" />";
   color: #296D94;
   font-family: monospace;
}
picture {
   text-align: center;
   display: inline-block;
   content: image(attr(src), attr(width), attr(height));
}



I would like to have the same "Edit Attribute src" dialog which 
pops up on a right-mouse on the image (same dialog as for 
right-click on <img> in xhtml) to do the same for editing the 
//inline-group/@src


Hope anyone knows a way to get about this.

regards,
-marc=
-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0116284/
mpo at outerthought.org                              mpo at apache.org


Reply via email to