Jump to content
Sign in to follow this  
emnagharbi

Make reference to a file within a vendor extension elment ?

Recommended Posts

Hello everyone,

I want to make reference to a file (.h or .xml) within a vendor extension elment. Would anyone please tell me if this is possible ?
This file will aim to configure a componentInstance/vendorExtension element.

Thanks and best regards,
Emna

Share this post


Link to post
Share on other sites

Hello Emna,

 

You are allowed to do anything you want in a vendor extension as long as it is valid XML. You just need the tool processing the extension to understand the semantics of what you put in the extension. This does not happen automatically.

 

Thanks,

Mark

Share this post


Link to post
Share on other sites

Hello Mark,

 

Thanks for reply. I got it. In my case, I need this file to be used by a generator to extract some data needed in code generation later. May be I should write some code in the generator to make the extension understandable. (?) (since within the tool I'm using, a vendorExtension element may only have child values and attributes)

 

Best regards,

Emna

Share this post


Link to post
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
Sign in to follow this  

×