View previous topic :: View next topic |
Author |
Message |
bdwyer
Joined: 27 Aug 2012 Posts: 10
|
Posted: Mon Aug 27, 2012 1:08 am Post subject: XML Formatting Question |
|
|
Right now - there's an option to write attributes on a new line when scanning / replacing strings in xaml files. Is it possible to scan / replace without messing with the formatting of the xaml file? Or an option to only write attributes on a new line after N characters? Each attribute on its own line is a little excessive, but everything on one line is also not always desirable. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Aug 27, 2012 6:58 am Post subject: |
|
|
Because Globalizer is using the standard XmlDocument class to handle reading and writing XML files we are a little restricted in the formatting options we can provide (basically just the options that XmlDocument provides). At the moment those are the only two options - but we will take your comments on board and look again at whether there is some way we can provide more control. _________________ Infralution Support |
|
Back to top |
|
|
bdwyer
Joined: 27 Aug 2012 Posts: 10
|
Posted: Mon Aug 27, 2012 4:35 pm Post subject: |
|
|
Thanks - in an ideal world I would just want it to leave it a lone - replace the text string you're replacing with the new variable reference and call it good - but I understand the limitation. Thanks! |
|
Back to top |
|
|
|