Jump to content

Value elements


paetje
 Share

Recommended Posts

I'm building a couple of website with an XML system. Therefor I made a construction witch gives the builders of an XML file a helping hand. They don't need to "build" the XML files but edeting. Herefor I'm using XMetal and an DTD. I make a new blank file in XMetal and my DTD does the rest. My DTD gives the option to select elements that are known bij the DTD and insert them. On this way you can simple select and type instead of building.But now I'm having an element <picture>, this element doesn't contain a picture itself. But it supposed to contain the path of the picture. My fist thougt was an childelement with <img src=""> but this doesn't work. Does anyone know how I can add a path to the elements with use of an DTD?

Link to comment
Share on other sites

Problem solved...I made some ATTRIBUTES for my elements. These attributes don't work but when I point XMetal to it, they work perfectley. You can say to XMetal witch element is supposed to be an picture element. But this element must have at least oen attribute. After pointing the element XMetal does the rest. It makes an standard picture insert button witch fills the element and attribute for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...