-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling raw HTML as field values in XML formats #106
Comments
@ronaldtse Currently, we can use the class Remark < Lutaml::Model::Serializeable
attribute :raw_content
xml do
root "remarks", raw: true
map_content to: :raw_content
end
end @ronaldtse What do you suggest? |
@HassanAkbar now that #129 is merged, do we still need this ticket? Thanks. |
@ronaldtse I think this is no longer needed as we have both the |
@ronaldtse Should we close this ticket now? |
Yes we can close this ticket for now. Thanks! |
We've just come across an example of embedding raw HTML inside XML.
The NIST OSCAL Metaschema allows embedding HTML inside XML as documentation.
This is the exact use case for using the
raw
option for an attribute.From:
@HassanAkbar can we confirm that this use case is supported by
raw
? Thanks!The text was updated successfully, but these errors were encountered: