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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...