Hi,
I've imported an xml file, which created in my Class browser some
class names like:
file:///MCNProject3/sargent.xml#marc:collection

I want to replace the file:///MCNProject3/sargent.xml# bit with a
prefix, sarg, so that the above uri would be represented by the qname:
sarg:marc:collection

Hmm, those double colons look a little odd, don't they?

anyways, I went into the overview for the importing file, and added
the prefix
sarg : file:///MCNProject3/sargent.xml#

however, the classes in my class browser have not changed, they still
look like
file:///MCNProject3/sargent.xml#marc:collection

although, on the other side, my properties, which used to look like:
file:///MCNProject3/sargent.xml#code-marcsubfield
now show:
sarg:code-marcsubfield

so I'm guessing that additional colon in my uri is somehow causing
interference?

that marc: in the nae comes from my xml, where I have elements like:
<marc:collection>

I still don't get how to deal with namespaces when importing xml;
ideally I'd like never to see
file:/// in my namespaces; I'd like to define my own namespace for all
data imported from xml files that conform to a particular schema. ie,
another file, sargent2.xml, using the same schema, would have the same
namespace.

how do I accomplish this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to